diff options
| author | Patrick Barron <barronpm@gmail.com> | 2020-05-15 12:51:18 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2020-05-15 12:51:18 -0400 |
| commit | a5dee3680880d525a6c507deb7dd284b08b7ebdd (patch) | |
| tree | 1e456a4a0c7657c9f7e7c490eead4c0d21b249e3 /Jellyfin.Server.Implementations/Migrations/DesignTimeJellyfinDbFactory.cs | |
| parent | 953777f1ba4858f5186086e97910fcb88bfe3d61 (diff) | |
Apply more review suggestions
Diffstat (limited to 'Jellyfin.Server.Implementations/Migrations/DesignTimeJellyfinDbFactory.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/Migrations/DesignTimeJellyfinDbFactory.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Jellyfin.Server.Implementations/Migrations/DesignTimeJellyfinDbFactory.cs b/Jellyfin.Server.Implementations/Migrations/DesignTimeJellyfinDbFactory.cs index a1b58eb5a..72a4a8c3b 100644 --- a/Jellyfin.Server.Implementations/Migrations/DesignTimeJellyfinDbFactory.cs +++ b/Jellyfin.Server.Implementations/Migrations/DesignTimeJellyfinDbFactory.cs @@ -12,9 +12,7 @@ namespace Jellyfin.Server.Implementations.Migrations public JellyfinDb CreateDbContext(string[] args) { var optionsBuilder = new DbContextOptionsBuilder<JellyfinDb>(); - optionsBuilder.UseSqlite( - "Data Source=jellyfin.db", - opt => opt.MigrationsAssembly("Jellyfin.Migrations")); + optionsBuilder.UseSqlite("Data Source=jellyfin.db"); return new JellyfinDb(optionsBuilder.Options); } |
