mirror of
https://gitlab.com/mobicoop/v3/service/ad.git
synced 2026-01-09 08:42:40 +00:00
feat(pause ad): add pause in db with prisma
This commit is contained in:
2
prisma/migrations/20240514132712_pause/migration.sql
Normal file
2
prisma/migrations/20240514132712_pause/migration.sql
Normal file
@@ -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())
|
||||
updatedAt DateTime @default(now()) @updatedAt
|
||||
waypoints Waypoint[]
|
||||
pause Boolean @default(false)
|
||||
comment String?
|
||||
|
||||
@@map("ad")
|
||||
|
||||
Reference in New Issue
Block a user