0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 22:39: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_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 Fixed git args duplication (#13411) 2020-11-03 13:35:09 +02:00
indexer_test.go
indexer.go
lfs.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
log.go
mailer.go
markup.go
migrations.go Add Allow-/Block-List for Migrate & Mirrors (#13610) 2020-11-28 19:37:58 -05:00
picture.go
project.go
queue.go
repository.go missing quotes in default value slice (#13550) 2020-11-13 22:17:58 -05:00
service.go
session.go
setting.go Set RUN_MODE prod by default (#13765) 2020-11-30 14:52:04 -05:00
storage.go
task.go
webhook.go