Fix generating migrations with USE_SYSTEM_SQLITE (#40910)

This commit is contained in:
Partmedia
2025-12-29 11:39:25 -06:00
committed by Vanessa
parent f507917ab4
commit b4d818de44
+3
View File
@@ -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)