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", name: "rating",
table: "shows", table: "shows",
type: "integer", type: "integer",
defaultValue: 0,
nullable: false); nullable: false);
migrationBuilder.AddColumn<int>( migrationBuilder.AddColumn<int>(
name: "rating", name: "rating",
table: "movies", table: "movies",
type: "integer", type: "integer",
defaultValue: 0,
nullable: false); nullable: false);
migrationBuilder.AddColumn<int>( migrationBuilder.AddColumn<int>(