Fix generating migrations with USE_SYSTEM_SQLITE (#40910)
This commit is contained in:
parent
f507917ab4
commit
b4d818de44
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue