Add optional comment to Ad type and records #7409

This commit is contained in:
Romain Thouvenin
2024-02-28 14:50:59 +01:00
parent da4b30350b
commit a7b342c049
15 changed files with 36 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "ad" ADD COLUMN "comment" TEXT;

View File

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