mirror of
https://gitlab.com/mobicoop/v3/service/ad.git
synced 2026-02-01 09:20:45 +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())
|
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user