Have got site creation working

This commit is contained in:
Leon Mika 2025-01-27 09:26:15 +11:00
parent 4ecc12f035
commit f8e7ea482b
15 changed files with 281 additions and 11 deletions

View file

@ -4,8 +4,9 @@ SELECT * FROM site;
-- name: NewSite :one
INSERT INTO site (
name,
title,
url,
theme,
props
) VALUES ($1, $2, $3, $4)
) VALUES ($1, $2, $3, $4, $5)
RETURNING id;