0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-28 08:44:39 +01:00
gitea/modules/setting
zeripath 5e0a3784ea
When reinitialising DBConfig reset the database use flags (#13796)
One perennial issue is users running the install page,
changing the database dialect and then suffering with issues

This PR simply resets all of the database.Use flags on
initDBConfig. This should prevent this issue from occuring.

Fix #13788
Fix #5480

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-12-02 19:39:48 -05:00
..
attachment.go
cache.go
cors.go
cron.go
cron_test.go
database.go
database_sqlite.go
database_test.go
git.go
indexer.go
indexer_test.go
lfs.go
log.go
mailer.go
markup.go
migrations.go
picture.go
project.go
queue.go
repository.go
service.go
session.go
setting.go
storage.go
task.go
webhook.go