Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>