Add currency

This commit is contained in:
Sebastien Castiel
2023-12-06 15:23:18 -05:00
parent 570aa713b1
commit 72fe199879
7 changed files with 49 additions and 13 deletions

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Group" ADD COLUMN "currency" TEXT NOT NULL DEFAULT '$';

View File

@@ -14,6 +14,7 @@ datasource db {
model Group {
id String @id
name String
currency String @default("$")
participants Participant[]
expenses Expense[]
}