Fix generating migrations with USE_SYSTEM_SQLITE (#40910)

This commit is contained in:
Partmedia 2025-10-14 14:40:05 -07:00 committed by Vanessa
parent f507917ab4
commit b4d818de44
1 changed files with 3 additions and 0 deletions

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)