Fix ratings migration default value

This commit is contained in:
Zoe Roux 2023-11-03 21:13:43 +01:00
parent 3386263fbe
commit 1769aa45c9
No known key found for this signature in database

View File

@ -88,12 +88,14 @@ namespace Kyoo.Postgresql.Migrations
name: "rating",
table: "shows",
type: "integer",
defaultValue: 0,
nullable: false);
migrationBuilder.AddColumn<int>(
name: "rating",
table: "movies",
type: "integer",
defaultValue: 0,
nullable: false);
migrationBuilder.AddColumn<int>(