Allow migration from sqlite-net to EF

Bonus stage
This commit is contained in:
Dean Herbert
2017-10-19 19:41:16 +09:00
parent f7d0df1743
commit 1fbbee14e4
3 changed files with 71 additions and 3 deletions

View File

@ -4,7 +4,6 @@
using System;
using System.Diagnostics;
using System.Reflection;
using Microsoft.EntityFrameworkCore;
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Development;
@ -92,7 +91,7 @@ namespace osu.Game
dependencies.Cache(LocalConfig);
using (var context = contextFactory.GetContext())
context.Database.Migrate();
context.Migrate();
dependencies.Cache(API = new APIAccess
{