mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 08:28:35 +02:00
♻️ Remove legacy start column (#1113)
This commit is contained in:
parent
14d0889a37
commit
533e347557
7 changed files with 16 additions and 128 deletions
|
@ -0,0 +1,8 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `start` on the `options` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "options" DROP COLUMN "start";
|
|
@ -195,7 +195,6 @@ model Participant {
|
|||
|
||||
model Option {
|
||||
id String @id @default(cuid())
|
||||
start DateTime @db.Timestamp(0) // @deprecated - use startTime
|
||||
startTime DateTime @db.Timestamp(0) @map("start_time")
|
||||
duration Int @default(0) @map("duration_minutes")
|
||||
pollId String @map("poll_id")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue