Fix generating migrations with USE_SYSTEM_SQLITE (#40910)
This commit is contained in:
@@ -17,6 +17,9 @@ namespace Content.Server.Database
|
||||
{
|
||||
public SqliteServerDbContext(DbContextOptions<SqliteServerDbContext> options) : base(options)
|
||||
{
|
||||
#if USE_SYSTEM_SQLITE
|
||||
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlite3());
|
||||
#endif
|
||||
}
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder options)
|
||||
|
||||
Reference in New Issue
Block a user