1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 07:04:59 +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_test.go
cron.go
database_sqlite.go
database_test.go
database.go When reinitialising DBConfig reset the database use flags (#13796) 2020-12-02 19:39:48 -05:00
git.go
indexer_test.go
indexer.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