Fixed sqlite migrations (#558)
This commit is contained in:
committed by
Pieter-Jan Briers
parent
d16fe5376d
commit
0f1cee44a3
@@ -7,7 +7,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
namespace Content.Server.Database.Migrations
|
||||
{
|
||||
[DbContext(typeof(PreferencesDbContext))]
|
||||
[DbContext(typeof(SqlitePreferencesDbContext))]
|
||||
[Migration("20200118020532_initial")]
|
||||
partial class initial
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
namespace Content.Server.Database.Migrations
|
||||
{
|
||||
[DbContext(typeof(PreferencesDbContext))]
|
||||
[DbContext(typeof(SqlitePreferencesDbContext))]
|
||||
[Migration("20200118195640_jobs")]
|
||||
partial class jobs
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
namespace Content.Server.Database.Migrations
|
||||
{
|
||||
[DbContext(typeof(PreferencesDbContext))]
|
||||
[DbContext(typeof(SqlitePreferencesDbContext))]
|
||||
[Migration("20200119103426_preferenceUnavailable")]
|
||||
partial class preferenceUnavailable
|
||||
{
|
||||
|
||||
@@ -5,8 +5,8 @@ using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
|
||||
namespace Content.Server.Database.Migrations
|
||||
{
|
||||
[DbContext(typeof(PreferencesDbContext))]
|
||||
partial class PreferencesDbContextModelSnapshot : ModelSnapshot
|
||||
[DbContext(typeof(SqlitePreferencesDbContext))]
|
||||
partial class SqlitePreferencesDbContextModelSnapshot : ModelSnapshot
|
||||
{
|
||||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user