1
0
mirror of synced 2024-12-11 22:46:03 +01:00

rgStamp default to 1

This commit is contained in:
ghkkk090 2022-09-02 11:47:40 +07:00
parent 59174ac2e0
commit bf568b864d
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
-- AlterTable
ALTER TABLE "Car" ALTER COLUMN "rgStamp" SET DEFAULT 1,
ALTER COLUMN "stLoseBits" SET DEFAULT 0;

View File

@ -114,7 +114,7 @@ model Car {
rgWinCount Int @default(0) rgWinCount Int @default(0)
rgTrophy Int @default(0) rgTrophy Int @default(0)
rgScore Int @default(0) rgScore Int @default(0)
rgStamp Int @default(0) rgStamp Int @default(1)
rgAcquireAllCrowns Boolean @default(false) rgAcquireAllCrowns Boolean @default(false)
rgRegionMapScore Int[] rgRegionMapScore Int[]
stampSheetCount Int @default(0) stampSheetCount Int @default(0)