mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Initialise batteries
Note that this is in the wrong place. But so is the rest of this code.
This commit is contained in:
@ -83,6 +83,7 @@ namespace osu.Game
|
|||||||
|
|
||||||
private OsuDbContext createDbContext()
|
private OsuDbContext createDbContext()
|
||||||
{
|
{
|
||||||
|
SQLitePCL.Batteries.Init();
|
||||||
var connectionString = Host.Storage.GetDatabaseConnectionString(@"client");
|
var connectionString = Host.Storage.GetDatabaseConnectionString(@"client");
|
||||||
var context = new OsuDbContext(connectionString);
|
var context = new OsuDbContext(connectionString);
|
||||||
var connection = context.Database.GetDbConnection();
|
var connection = context.Database.GetDbConnection();
|
||||||
|
Reference in New Issue
Block a user