Fixing seasons tests and running tests in parallel

This commit is contained in:
Zoe Roux
2021-06-21 21:59:54 +02:00
parent bd82fbfb2c
commit d7d40aef24
18 changed files with 163 additions and 37 deletions
@@ -84,6 +84,7 @@ namespace Kyoo.Postgresql.Migrations
.HasColumnType("integer");
b.Property<string>("Slug")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("text");
b.Property<string>("Thumb")
@@ -96,6 +97,9 @@ namespace Kyoo.Postgresql.Migrations
b.HasIndex("SeasonID");
b.HasIndex("Slug")
.IsUnique();
b.HasIndex("ShowID", "SeasonNumber", "EpisodeNumber", "AbsoluteNumber")
.IsUnique();
@@ -430,6 +434,7 @@ namespace Kyoo.Postgresql.Migrations
.HasColumnType("integer");
b.Property<string>("Slug")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("text");
b.Property<DateTime?>("StartDate")
@@ -440,6 +445,9 @@ namespace Kyoo.Postgresql.Migrations
b.HasKey("ID");
b.HasIndex("Slug")
.IsUnique();
b.HasIndex("ShowID", "SeasonNumber")
.IsUnique();
@@ -557,6 +565,7 @@ namespace Kyoo.Postgresql.Migrations
.HasColumnType("text");
b.Property<string>("Slug")
.ValueGeneratedOnAddOrUpdate()
.HasColumnType("text");
b.Property<string>("Title")
@@ -570,6 +579,9 @@ namespace Kyoo.Postgresql.Migrations
b.HasKey("ID");
b.HasIndex("Slug")
.IsUnique();
b.HasIndex("EpisodeID", "Type", "Language", "TrackIndex", "IsForced")
.IsUnique();