feat(pause ad): add pause in db with prisma

This commit is contained in:
Fanch 2024-05-14 15:31:14 +02:00 committed by Fanch
parent 3b8ab49396
commit 54d1dab461
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "ad" ADD COLUMN "pause" BOOLEAN NOT NULL DEFAULT false;

View File

@ -27,6 +27,7 @@ model Ad {
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
waypoints Waypoint[]
pause Boolean @default(false)
comment String?
@@map("ad")