mirror of
https://github.com/EdiFarcas/Giveaway-app.git
synced 2026-06-29 03:00:57 +03:00
Update Giveaway, app-functional
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Giveaway" ADD COLUMN "duration" INTEGER,
|
||||
ADD COLUMN "endsAt" TIMESTAMP(3);
|
||||
@@ -64,6 +64,8 @@ model Giveaway {
|
||||
prize String
|
||||
active Boolean @default(true)
|
||||
createdAt DateTime @default(now())
|
||||
duration Int?
|
||||
endsAt DateTime?
|
||||
entryCost Int @default(7000000)
|
||||
entries Entry[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user