diff --git a/Content.Server.Database/ModelSqlite.cs b/Content.Server.Database/ModelSqlite.cs index 1ce9465847..5a993bdbfa 100644 --- a/Content.Server.Database/ModelSqlite.cs +++ b/Content.Server.Database/ModelSqlite.cs @@ -17,6 +17,9 @@ namespace Content.Server.Database { public SqliteServerDbContext(DbContextOptions options) : base(options) { +#if USE_SYSTEM_SQLITE + SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlite3()); +#endif } protected override void OnConfiguring(DbContextOptionsBuilder options)