mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
Merge pull request #3797 from bernarden/feature/cleanup-dev-startup-output
Cleanup console output during startup.
This commit is contained in:
commit
799061acfe
4 changed files with 7 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue