3x-ui/database
Zahar Izmailov 66fe84181b
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>
2025-01-21 02:59:30 +01:00
..
model Client: Comment 2024-12-27 13:48:07 +01:00
db.go Enhance database initialization in db.go (#2645) 2025-01-21 02:59:30 +01:00