Have got site creation working
This commit is contained in:
parent
4ecc12f035
commit
f8e7ea482b
15 changed files with 281 additions and 11 deletions
|
|
@ -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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue