diff options
| author | Zahar Izmailov <izmailov9@gmail.com> | 2025-01-21 04:59:30 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-21 04:59:30 +0300 |
| commit | 66fe84181b9c4e2f6c6be943a7f486b4308c32ff (patch) | |
| tree | f3b167742bbf79022f047ffce5e9f95d12bf032d /web/web.go | |
| parent | 7b7eb98acbd1e88a6010d382c1373a82ea6cc9ec (diff) | |
Enhance database initialization in db.go (#2645)
- Updated GORM configuration to skip default transactions and prepare statements.
- Modified the database connection string to include caching and journal mode settings.
- Executed several PRAGMA statements to optimize SQLite performance and enable foreign key support.
These changes improve database handling and performance in the application.
Co-authored-by: Zakhar Izmaylov <ptdev@kedruss.ru>
Diffstat (limited to 'web/web.go')
0 files changed, 0 insertions, 0 deletions
