15 Commits (308b562b3c0440e800dc63b0ef2eb6777a1e0026)

Author SHA1 Message Date
zeripath edb838997c
Fix setting version table in dump (#15753)
* Fix setting version table in dump

As noted on Discord there is a problem with gitea dump where the version table
is not being dumped correctly.

This is due to a missing pointer in the TableInfo.

This PR fixes this.

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

* Update models_test.go
3 years ago
6543 cfd8e8a489
gitea dump: include version & Check InstallLock (#12760)
* gitea dump: include version

* Check InstallLock (close #12759)

* fix test

* fix lint
4 years ago
Lunny Xiao f83db078f0 Move database settings from models to setting (#7806)
* move database settings from models to setting

* update docs

* fix checkout pr

* fix tests

* fix lint

* remove unsupported tidb options

* correct wrong variable name

* remove tidb totally
5 years ago
Lunny Xiao 91dcccf72d fix dump table name error and add some test for dump database (#6394) 5 years ago
techknowlogick d84da8fe65 Change parsing of postgresql settings (#4275)
* Change parsing of postgresql settings

Fix #4200

* Add copyright

* update postgresql connection string

* add tests
6 years ago
Kim "BKC" Carlbäcker d349f059af Cleaner IMO (#1361) 7 years ago
Bo-Yi Wu 1ec6b1a258 fix: gofmt error. (#918) 7 years ago
Ethan Koenig d2329e1c26 Use assert in legacy unit tests (#867) 7 years ago
Unknwon 5be881756b #3442 add test suites 8 years ago
Unknown 830494a8aa Remove old files 10 years ago
Unknown 3144fac03c IP: RC Code Review 10 years ago
Unknown f6596f11c4 All configuration reload-able 10 years ago
Unknown 8ef198dfac Formatting 11 years ago
Lunny Xiao 237193ef2a add user models 11 years ago
Lunny Xiao a30e5bcaf8 add createrepository & deleterepository 11 years ago