From 555406c1c49fe02bbffd68f098be251c8ba915d7 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 12 Dec 2020 16:43:17 -0500 Subject: [PATCH] Fix up invalid MySQL migration Rename files, change import and namespace. --- ...in.Designer.cs => 20201212163118_Jellyfin.Designer.cs} | 6 +++--- ...01212014227_Jellyfin.cs => 20201212163118_Jellyfin.cs} | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) rename src/Ombi.Store/Migrations/ExternalMySql/{20201212014227_Jellyfin.Designer.cs => 20201212163118_Jellyfin.Designer.cs} (99%) rename src/Ombi.Store/Migrations/ExternalMySql/{20201212014227_Jellyfin.cs => 20201212163118_Jellyfin.cs} (95%) diff --git a/src/Ombi.Store/Migrations/ExternalMySql/20201212014227_Jellyfin.Designer.cs b/src/Ombi.Store/Migrations/ExternalMySql/20201212163118_Jellyfin.Designer.cs similarity index 99% rename from src/Ombi.Store/Migrations/ExternalMySql/20201212014227_Jellyfin.Designer.cs rename to src/Ombi.Store/Migrations/ExternalMySql/20201212163118_Jellyfin.Designer.cs index 19189c2e0..93c128c5c 100644 --- a/src/Ombi.Store/Migrations/ExternalMySql/20201212014227_Jellyfin.Designer.cs +++ b/src/Ombi.Store/Migrations/ExternalMySql/20201212163118_Jellyfin.Designer.cs @@ -4,11 +4,11 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Ombi.Store.Context.Sqlite; +using Ombi.Store.Context.MySql; -namespace Ombi.Store.Migrations.ExternalSqlite +namespace Ombi.Store.Migrations.ExternalMySql { - [DbContext(typeof(ExternalSqliteContext))] + [DbContext(typeof(ExternalMySqlContext))] [Migration("20201212014227_Jellyfin")] partial class Jellyfin { diff --git a/src/Ombi.Store/Migrations/ExternalMySql/20201212014227_Jellyfin.cs b/src/Ombi.Store/Migrations/ExternalMySql/20201212163118_Jellyfin.cs similarity index 95% rename from src/Ombi.Store/Migrations/ExternalMySql/20201212014227_Jellyfin.cs rename to src/Ombi.Store/Migrations/ExternalMySql/20201212163118_Jellyfin.cs index f1eb6ebcf..bb23c95c9 100644 --- a/src/Ombi.Store/Migrations/ExternalMySql/20201212014227_Jellyfin.cs +++ b/src/Ombi.Store/Migrations/ExternalMySql/20201212163118_Jellyfin.cs @@ -1,8 +1,8 @@ -using Microsoft.EntityFrameworkCore.Migrations; -using System; -using System.Collections.Generic; +using System; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; -namespace Ombi.Store.Migrations.ExternalSqlite +namespace Ombi.Store.Migrations.ExternalMySql { public partial class Jellyfin : Migration {