🗃️ - Added likes field in show table db

This commit is contained in:
Florian Sylvain
2022-11-10 13:35:28 +01:00
parent 98db7693bc
commit 71a451c4f4
2 changed files with 10 additions and 7 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE `Serie` ADD COLUMN `likes` INTEGER NOT NULL DEFAULT 0;
+1
View File
@@ -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)
} }