mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
Fixed the startup error
This commit is contained in:
parent
58cc49d607
commit
3bd9b18b33
2 changed files with 7 additions and 11 deletions
|
@ -14,13 +14,9 @@ namespace Ombi.Store.Context.Sqlite
|
|||
_created = true;
|
||||
Upgrade();
|
||||
Database.SetCommandTimeout(60);
|
||||
try
|
||||
{
|
||||
|
||||
Database.Migrate();
|
||||
}
|
||||
catch (SqliteException e) when (e.Message.Equals("duplicate column name: RequestId"))
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -8,10 +8,10 @@ namespace Ombi.Store.Migrations.ExternalSqlite
|
|||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "RequestId",
|
||||
table: "PlexServerContent",
|
||||
nullable: true);
|
||||
//migrationBuilder.AddColumn<int>(
|
||||
// name: "RequestId",
|
||||
// table: "PlexServerContent",
|
||||
// nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue