Added a suite GUID
This commit is contained in:
parent
30d99eeb9e
commit
329de2f953
11 changed files with 44 additions and 41 deletions
|
|
@ -7,10 +7,11 @@ SELECT * FROM sites WHERE id = ?;
|
|||
-- name: InsertSite :one
|
||||
INSERT INTO sites (
|
||||
owner_id,
|
||||
guid,
|
||||
title,
|
||||
tagline,
|
||||
created_at
|
||||
) VALUES (?, ?, ?, ?)
|
||||
) VALUES (?, ?, ?, ?, ?)
|
||||
RETURNING id;
|
||||
|
||||
-- name: HasUsersAndSites :one
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue