🔥 Remove closed column (#1656)

This commit is contained in:
Luke Vella 2025-04-02 15:02:52 +01:00 committed by GitHub
parent 47d96f7bee
commit 53a48a0511
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 9 deletions

View file

@ -0,0 +1,8 @@
/*
Warnings:
- You are about to drop the column `closed` on the `polls` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "polls" DROP COLUMN "closed";

View file

@ -148,7 +148,6 @@ model Poll {
userId String? @map("user_id")
guestId String? @map("guest_id")
timeZone String? @map("time_zone")
closed Boolean @default(false) // @deprecated
status PollStatus @default(live)
deleted Boolean @default(false)
deletedAt DateTime? @map("deleted_at")