mirror of
https://github.com/Floriansylvain/CineAllo.git
synced 2026-08-19 11:43:24 +02:00
🗃️ - Added likes field in show table db
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE `Serie` ADD COLUMN `likes` INTEGER NOT NULL DEFAULT 0;
|
||||||
@@ -15,4 +15,5 @@ model Serie {
|
|||||||
date Int
|
date Int
|
||||||
description String @db.VarChar(2000)
|
description String @db.VarChar(2000)
|
||||||
thumbmailURL String @db.VarChar(2048)
|
thumbmailURL String @db.VarChar(2048)
|
||||||
|
likes Int @default(0)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user