mirror of
https://github.com/Floriansylvain/CineAllo.git
synced 2026-10-18 20:34:11 +02:00
🗃️ - Added likes field in show table db
This commit is contained in:
1 parent
98db7693bc
commit
71a451c4f4
2 files changed
+3
No files matched your search
@@ -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