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
2021-05-07 00:17:43 +01:00
6543
cfd8e8a489
gitea dump: include version & Check InstallLock ( #12760 )
...
* gitea dump: include version
* Check InstallLock (close #12759 )
* fix test
* fix lint
2020-09-07 23:27:17 +01:00
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
2019-08-24 11:24:45 +02:00
Lunny Xiao
91dcccf72d
fix dump table name error and add some test for dump database ( #6394 )
2019-03-20 21:38:54 -04:00
techknowlogick
d84da8fe65
Change parsing of postgresql settings ( #4275 )
...
* Change parsing of postgresql settings
Fix #4200
* Add copyright
* update postgresql connection string
* add tests
2018-06-20 08:06:01 +03:00
Kim "BKC" Carlbäcker
d349f059af
Cleaner IMO ( #1361 )
2017-03-22 22:30:40 +08:00
Bo-Yi Wu
1ec6b1a258
fix: gofmt error. ( #918 )
2017-02-14 10:12:03 +08:00
Ethan Koenig
d2329e1c26
Use assert in legacy unit tests ( #867 )
2017-02-08 14:29:07 +08:00
Unknwon
5be881756b
#3442 add test suites
2016-08-12 02:56:50 -07:00
Unknown
830494a8aa
Remove old files
2014-05-08 22:03:34 -04:00
Unknown
3144fac03c
IP: RC Code Review
2014-03-27 12:48:29 -04:00
Unknown
f6596f11c4
All configuration reload-able
2014-03-21 01:48:10 -04:00
Unknown
8ef198dfac
Formatting
2014-02-14 18:16:54 -05:00
Lunny Xiao
237193ef2a
add user models
2014-02-14 22:20:57 +08:00
Lunny Xiao
a30e5bcaf8
add createrepository & deleterepository
2014-02-13 23:23:23 +08:00