Fixing some postgres tests

This commit is contained in:
Zoe Roux
2021-06-16 23:16:33 +02:00
parent 9ed51d11cc
commit 7bd78bfaac
5 changed files with 45 additions and 20 deletions
@@ -21,7 +21,7 @@ namespace Kyoo.Postgresql.Migrations
.HasPostgresEnum(null, "status", new[] { "finished", "airing", "planned", "unknown" })
.HasPostgresEnum(null, "stream_type", new[] { "unknown", "video", "audio", "subtitle", "attachment" })
.HasAnnotation("Relational:MaxIdentifierLength", 63)
.HasAnnotation("ProductVersion", "5.0.6")
.HasAnnotation("ProductVersion", "5.0.7")
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
modelBuilder.Entity("Kyoo.Models.Collection", b =>
@@ -83,6 +83,9 @@ namespace Kyoo.Postgresql.Migrations
b.Property<int>("ShowID")
.HasColumnType("integer");
b.Property<string>("Slug")
.HasColumnType("text");
b.Property<string>("Thumb")
.HasColumnType("text");
@@ -426,6 +429,9 @@ namespace Kyoo.Postgresql.Migrations
b.Property<int>("ShowID")
.HasColumnType("integer");
b.Property<string>("Slug")
.HasColumnType("text");
b.Property<DateTime?>("StartDate")
.HasColumnType("timestamp without time zone");
@@ -550,6 +556,9 @@ namespace Kyoo.Postgresql.Migrations
b.Property<string>("Path")
.HasColumnType("text");
b.Property<string>("Slug")
.HasColumnType("text");
b.Property<string>("Title")
.HasColumnType("text");