Commit Graph

18 Commits (48eb5ac6856aeed5b6501fcd27899d3dc3da2876)

Author SHA1 Message Date
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Norwin 8a330b6b5b
Add setting `SQLITE_JOURNAL_MODE` to enable WAL (#20535) 2 years ago
Gusted b7c6ec91ba
Use default values when provided values are empty (#20318) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 3 years ago
Lunny Xiao 3c6c150740
Add deprecated log when using MySQL with utf8 charset (#19952) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
wxiaoguang a6f961fba4
Refactor install page (db type) (#17919) 3 years ago
Lunny Xiao 29cc169d20
Fix bug when read mysql database max lifetime (#17682) 3 years ago
zeripath 5e0a3784ea
When reinitialising DBConfig reset the database use flags (#13796) 4 years ago
Lunny Xiao 80a6b0f5bc
Avatars and Repo avatars support storing in minio (#12516) 4 years ago
zeripath fcabbae168
Set utf8mb4 as the default charset on MySQL if CHARSET is unset (#12563) 4 years ago
Stormxx 26e931ae34
fix a spelling error (#12163) 5 years ago
zeripath 9ecf732abc
Prevent panic on empty HOST for mysql (#11850) 5 years ago
zeripath e8955173a9
Default MSSQL port 0 to allow automatic detection by default (#11642) 5 years ago
guillep2k 4a2d23981d
Fix SQLite concurrency problems by using BEGIN IMMEDIATE (#10368) 5 years ago
guillep2k ad1b6d439f Add support for database schema in PostgreSQL (#8819) 5 years ago
zeripath d8161ee3fd
Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) 5 years ago
Lunny Xiao f83db078f0 Move database settings from models to setting (#7806) 5 years ago