From: Partmedia Date: Tue, 14 Oct 2025 21:40:05 +0000 (-0700) Subject: Fix generating migrations with USE_SYSTEM_SQLITE (#40910) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=a6938a64421a115c0bc2f956f37fffffbf58695b;p=space-station-14.git Fix generating migrations with USE_SYSTEM_SQLITE (#40910) --- 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)