still adding the 'Calculated' column

This commit is contained in:
2025-08-26 18:28:59 +01:00
parent b5d918a873
commit b6d0d98d41
16 changed files with 228 additions and 196 deletions
+3 -3
View File
@@ -9,13 +9,13 @@ WHERE "ExpID" = ?;
-- name: InsertShare :execresult
INSERT INTO "expensesShares"(
"ExpID", "UserID", "Share"
"ExpID", "UserID", "Share", "Calculated"
)
VALUES(?, ?, ?);
VALUES(?, ?, ?, ?);
-- name: UpdateShare :execresult
UPDATE expensesShares
SET "UserID" = ?, "Share" = ?
SET "UserID" = ?, "Share" = ?, "Calculated" = ?
WHERE "ExpShareID" = ?;
-- name: DeleteShare :execresult