Release prep: 54 engines, self-hosted signatures, i18n, dashboard updates

This commit is contained in:
DmitrL-dev 2026-03-23 16:45:40 +10:00
parent 694e32be26
commit 41cbfd6e0a
178 changed files with 36008 additions and 399 deletions

View file

@ -65,6 +65,11 @@ func OpenMemory() (*DB, error) {
return nil, fmt.Errorf("enable foreign keys: %w", err)
}
// In-memory SQLite: each connection gets a SEPARATE database.
// Limit to 1 connection to ensure all queries see the same tables.
db.SetMaxOpenConns(1)
db.SetMaxIdleConns(1)
return &DB{db: db, path: ":memory:"}, nil
}