Commit graph

10 commits

Author SHA1 Message Date
Lunny Xiao
d151503d34 Upgrade xorm to v0.8.0 () 2019-10-17 11:26:49 +02:00
zeripath
026696b87a
Fix dropTableColumns sqlite implementation ()
* Fix dropTableColumns sqlite implementation

* use droptables and its index dropping support in v78 and v85

* golang-ci fixes

* Add migration from gitea 1.3.3 for sqlite which reveals the droptables bug - thus showing this works
2019-08-05 22:49:49 +01:00
Lunny Xiao
aa7c34cf86 Fix error log when loading issues caused by a xorm bug ()
* fix error log when loading issues caused by a xorm bug

* upgrade packages

* fix fmt

* fix Consistency

* fix tests
2019-06-23 18:22:43 +03:00
kolaente
f9ec2f89f2 Add golangci () 2019-06-12 15:41:28 -04:00
zeripath
d1a32fa108 Attempt to fix () 2019-05-05 14:58:49 -04:00
Lanre Adelowo
821184c203 Drop is_bare IDX only when it exists for MySQL and MariaDB ()
* Drop is_bare IDX only when it exists

* show indexes only on mysql or mariadb
2019-04-24 20:43:38 +03:00
Lunny Xiao
b80d6490f3 fix migration 78 error mssql () 2019-01-21 12:12:45 +02:00
zeripath
b0fbefc76b Fix the v78 migration script ()
Unfortunately the last fix didn't completely fix the migration to v79 of the db
due to bug with schema locking during Sync2. This should fix this issue.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2019-01-19 20:20:52 -05:00
Lunny Xiao
41f19e1a38 fix migration bug () 2019-01-18 09:50:38 -05:00
zeripath
07802a2bc5 Refactor repo.isBare to repo.isEmpty ()
* Refactor repo.isBare to repo.isEmpty 

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

* Remove Sync call
2019-01-17 19:01:04 -05:00