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

This commit is contained in:
Fanch 2024-05-15 17:25:21 +02:00 committed by Fanch
parent cc9b45c6a1
commit f6d00f5e37
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

@ -29,6 +29,7 @@ model Ad {
passengerDuration Int?
passengerDistance Int?
waypoints Unsupported("geography(LINESTRING)")?
pause Boolean @default(false)
direction Unsupported("geography(LINESTRING)")?
fwdAzimuth Int
backAzimuth Int