This commit is contained in:
seb
2026-10-24 01:24:25 +02:00
parent feffe4e1ab
commit 1da82e2eb9
7 changed files with 20 additions and 2 deletions

View File

@@ -813,6 +813,7 @@ CREATE TABLE IF NOT EXISTS payment (
manifest_id INTEGER NOT NULL,
"type" TEXT NOT NULL,
amount REAL NOT NULL,
created_at TEXT NOT NULL DEFAULT (${UTC_NOW}),
FOREIGN KEY (account_id) REFERENCES account(id) ON DELETE CASCADE,
FOREIGN KEY (manifest_id) REFERENCES manifest(id) ON DELETE CASCADE
);