mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2026-02-08 02:56:13 +01:00
added age on user
This commit is contained in:
2
prisma/migrations/20240611111548_added_age/migration.sql
Normal file
2
prisma/migrations/20240611111548_added_age/migration.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "User" ADD COLUMN "age" INTEGER NOT NULL DEFAULT 20;
|
||||
@@ -89,6 +89,7 @@ model User {
|
||||
isActive Boolean
|
||||
city String
|
||||
dollarAvailables Float
|
||||
age Int @default(20)
|
||||
created_at DateTime @default(now())
|
||||
updated_at DateTime @updatedAt @default(now())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user