update to support postgresql and add godocs
This commit is contained in:
@@ -60,7 +60,7 @@ RETURNING *;
|
||||
|
||||
-- name: InventoryCleanupTemplates :exec
|
||||
DELETE FROM "Inventory"
|
||||
WHERE "IsTemplate" = "TRUE"
|
||||
WHERE "IsTemplate" = 'TRUE'
|
||||
RETURNING *;
|
||||
|
||||
-- name: CreateUpdate :one
|
||||
@@ -118,4 +118,4 @@ INSERT INTO "InventoryHistory" (
|
||||
) VALUES(
|
||||
?, ?, ?, ?, ?, ?, ?
|
||||
)
|
||||
RETURNING *;
|
||||
RETURNING *;
|
||||
|
||||
Reference in New Issue
Block a user