diff --git a/back/src/Kyoo.Postgresql/Migrations/20231031212819_rating.cs b/back/src/Kyoo.Postgresql/Migrations/20231031212819_rating.cs index efb38142..258ad25b 100644 --- a/back/src/Kyoo.Postgresql/Migrations/20231031212819_rating.cs +++ b/back/src/Kyoo.Postgresql/Migrations/20231031212819_rating.cs @@ -88,12 +88,14 @@ namespace Kyoo.Postgresql.Migrations name: "rating", table: "shows", type: "integer", + defaultValue: 0, nullable: false); migrationBuilder.AddColumn( name: "rating", table: "movies", type: "integer", + defaultValue: 0, nullable: false); migrationBuilder.AddColumn(