Add email to user

This commit is contained in:
spacelord committed 2025-03-03 16:43:49 +01:00
1 parent 0233196276
commit 50ad684ad3
4 files changed
+12 -6

No files matched your search

+4 -1
View File
@@ -17,12 +17,13 @@ model user {
id Int @id @unique @default(autoincrement())
name String @unique
code String?
email String?
// TODO: Prüfen ob nötig, erstmal vorbereitet.
transactions transactions[]
@@fulltext([name])
}
}
model transactions {
id Int @id @unique @default(autoincrement())
@@ -62,3 +63,5 @@ model products {
@@fulltext([name])
}
// TODO: migrate all ids to uuid?