mirror of
https://github.com/osukey/osukey.git
synced 2025-06-08 12:58:01 +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:
parent
9226456f3c
commit
89c17ed13e
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user