diff --git a/src/Ombi.Store/Context/Sqlite/ExternalSqliteContext.cs b/src/Ombi.Store/Context/Sqlite/ExternalSqliteContext.cs index fe4a93586..adbf6e017 100644 --- a/src/Ombi.Store/Context/Sqlite/ExternalSqliteContext.cs +++ b/src/Ombi.Store/Context/Sqlite/ExternalSqliteContext.cs @@ -14,13 +14,9 @@ public ExternalSqliteContext(DbContextOptions options) : _created = true; Upgrade(); Database.SetCommandTimeout(60); - try - { - Database.Migrate(); - } - catch (SqliteException e) when (e.Message.Equals("duplicate column name: RequestId")) - { - } + + Database.Migrate(); + } diff --git a/src/Ombi.Store/Migrations/ExternalSqlite/20191113213617_RequestIdPatch.cs b/src/Ombi.Store/Migrations/ExternalSqlite/20191113213617_RequestIdPatch.cs index 2d0622d0f..29c1a4033 100644 --- a/src/Ombi.Store/Migrations/ExternalSqlite/20191113213617_RequestIdPatch.cs +++ b/src/Ombi.Store/Migrations/ExternalSqlite/20191113213617_RequestIdPatch.cs @@ -8,10 +8,10 @@ public partial class RequestIdPatch : Migration protected override void Up(MigrationBuilder migrationBuilder) { - migrationBuilder.AddColumn( - name: "RequestId", - table: "PlexServerContent", - nullable: true); + //migrationBuilder.AddColumn( + // name: "RequestId", + // table: "PlexServerContent", + // nullable: true); } protected override void Down(MigrationBuilder migrationBuilder)