🔥 Drop authorName from polls table (#616)

This commit is contained in:
Luke Vella 2023-03-27 16:03:46 +01:00 committed by GitHub
parent 860103fa11
commit 1f263a46db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View file

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

View file

@ -44,7 +44,6 @@ model Poll {
options Option[]
participants Participant[]
watchers Watcher[]
authorName String? @map("author_name")
demo Boolean @default(false)
comments Comment[]
legacy Boolean @default(false)