Files
spend-sparrow/migration/003_treasure_chest.up.sql
Tim Wundenberg dbf272e3f3
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 4m49s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 5m29s
feat(transaction): #66 implement transactions
2025-05-16 11:06:48 +02:00

17 lines
284 B
SQL

CREATE TABLE treasure_chest (
id TEXT NOT NULL UNIQUE PRIMARY KEY,
parent_id TEXT,
user_id TEXT NOT NULL,
name TEXT NOT NULL,
current_balance INTEGER NOT NULL,
created_at DATETIME NOT NULL,
created_by TEXT NOT NULL,
updated_at DATETIME,
updated_by TEXT
) WITHOUT ROWID;