✅ add - ajout page mon compte
This commit is contained in:
1 parent
a73958e500
commit
6a10740307
4 files changed
+81
-35
No files matched your search
@@ -72,12 +72,12 @@ model Gain {
|
||||
produitId Int?
|
||||
user User? @relation(fields: [userId], references: [id])
|
||||
userId Int?
|
||||
actif Boolean @default(true)
|
||||
codeActif Boolean @default(true)
|
||||
retrait Boolean @default(false)
|
||||
}
|
||||
|
||||
model Produit {
|
||||
id Int @id @default(autoincrement())
|
||||
actif Boolean?
|
||||
id Int @id @default(autoincrement())
|
||||
nomProduit String?
|
||||
prixTtc Int?
|
||||
image String?
|
||||
@@ -86,6 +86,7 @@ model Produit {
|
||||
|
||||
enum Role {
|
||||
USER
|
||||
SELLER
|
||||
ADMIN
|
||||
SUPERADMIN
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user