Merge pull request #3797 from bernarden/feature/cleanup-dev-startup-output

Cleanup console output during startup.
pull/3816/head
Jamie 4 years ago committed by GitHub
commit 799061acfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,7 @@ namespace Ombi.Store.Context.Sqlite
{ {
try try
{ {
Database.ExecuteSqlCommand(@"INSERT INTO __EFMigrationsHistory (MigrationId,ProductVersion) Database.ExecuteSqlRaw(@"INSERT OR IGNORE INTO __EFMigrationsHistory (MigrationId,ProductVersion)
VALUES('20191103205133_Inital', '2.2.6-servicing-10079'); "); VALUES('20191103205133_Inital', '2.2.6-servicing-10079'); ");
} }
catch (Exception) catch (Exception)

@ -22,7 +22,7 @@ namespace Ombi.Store.Context.Sqlite
{ {
try try
{ {
Database.ExecuteSqlCommand(@"INSERT INTO __EFMigrationsHistory (MigrationId,ProductVersion) Database.ExecuteSqlRaw(@"INSERT OR IGNORE INTO __EFMigrationsHistory (MigrationId,ProductVersion)
VALUES('20191102235658_Inital', '2.2.6-servicing-10079'); "); VALUES('20191102235658_Inital', '2.2.6-servicing-10079'); ");
} }
catch (Exception) catch (Exception)

@ -20,7 +20,7 @@ namespace Ombi.Store.Context.Sqlite
{ {
try try
{ {
Database.ExecuteSqlCommand(@"INSERT INTO __EFMigrationsHistory (MigrationId,ProductVersion) Database.ExecuteSqlRaw(@"INSERT OR IGNORE INTO __EFMigrationsHistory (MigrationId,ProductVersion)
VALUES('20191103205204_Inital', '2.2.6-servicing-10079'); "); VALUES('20191103205204_Inital', '2.2.6-servicing-10079'); ");
} }
catch (Exception) catch (Exception)

@ -96,6 +96,10 @@ namespace Ombi
urlValue = url.Value; urlValue = url.Value;
} }
else if (string.IsNullOrEmpty(urlValue))
{
urlValue = host;
}
if (dbBaseUrl == null) if (dbBaseUrl == null)
{ {

Loading…
Cancel
Save