feat(pause ad): add pause in db with prisma
This commit is contained in:
parent
3b8ab49396
commit
54d1dab461
|
@ -0,0 +1,2 @@
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "ad" ADD COLUMN "pause" BOOLEAN NOT NULL DEFAULT false;
|
|
@ -27,6 +27,7 @@ model Ad {
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
updatedAt DateTime @default(now()) @updatedAt
|
updatedAt DateTime @default(now()) @updatedAt
|
||||||
waypoints Waypoint[]
|
waypoints Waypoint[]
|
||||||
|
pause Boolean @default(false)
|
||||||
comment String?
|
comment String?
|
||||||
|
|
||||||
@@map("ad")
|
@@map("ad")
|
||||||
|
|
Loading…
Reference in New Issue