gogs: SQL Error after upgrade to 0.9.40
Gogs version built from source: 0.9.40.0709 Database: MariaDB 10.1.14 OS: FreeBSD 10.3-RELEASE-p5 GO version: 1.6.2_1,1
[…s/routers/install.go:71 GlobalInit()] [E] Fail to initialize ORM engine: sync database struct error: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘ADD enable_prune
TINYINT(1) NOT NULL DEFAULT true’ at line 1
The build is successful but attempting to start “./gogs web” gives the above error, looks like potentially a problem updating the existing database schema?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (8 by maintainers)
Commits related to this issue
- resolved gogits/gogs#3251 — committed to go-xorm/xorm by lunny 8 years ago
- Update code.gitea.io/git (#3251) — committed to ethantkoenig/gogs by ethantkoenig 7 years ago
- resolved gogits/gogs#3251 — committed to fairyhunter13/xorm by fairyhunter13 8 years ago
I can also confirm the problem is corrected on my system, built and upgraded to 0.9.41.0711 without issue. Thank you very much for the support.