Commit Graph

15 Commits (36dce0e457d99ae22530f606ce296ef4946b257b)

Author SHA1 Message Date
zeripath edb838997c
Fix setting version table in dump ()
* 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
6543 cfd8e8a489
gitea dump: include version & Check InstallLock ()
* gitea dump: include version

* Check InstallLock (close )

* fix test

* fix lint
Lunny Xiao f83db078f0 Move database settings from models to setting ()
* 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
Lunny Xiao 91dcccf72d fix dump table name error and add some test for dump database ()
techknowlogick d84da8fe65 Change parsing of postgresql settings ()
* Change parsing of postgresql settings

Fix 

* Add copyright

* update postgresql connection string

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