mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-22 05:16:23 +02:00
🔥 Drop authorName from polls table (#616)
This commit is contained in:
parent
860103fa11
commit
1f263a46db
4 changed files with 8 additions and 3 deletions
|
@ -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";
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue