aboutsummaryrefslogtreecommitdiff
path: root/models/migrations/v17.go
Commit message (Collapse)AuthorAge
* internal: move packages under this directory (#5836)Unknwon2019-10-24
| | | | | | | | | | | | | | | | | | * Rename pkg -> internal * Rename routes -> route * Move route -> internal/route * Rename models -> db * Move db -> internal/db * Fix route2 -> route * Move cmd -> internal/cmd * Bump version
* Enable Go modules (#5835)Unknwon2019-10-23
| | | | | | | | | | | | | | | | * Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs
* migrations.v17: skip if table not existUnknwon2017-03-30
|
* migration.v17: handle mysql error (#4361)Kyle McCullough2017-03-29
|
* migration.v17: add nil error checkUnknwon2017-03-28
|
* migration/v17: skip if protect_branch_whitelist table not exist (#4355)Unknwon2017-03-28
|
* models/protect_branch: fix whitelist with invalid 'protect_branch_id' (#4333)Unknwon2017-03-27
If user creates a protect branch for the first time (which has ID=0), it generates invalid whitelist records with 'protect_branch_id=0'. This prevents future updates of protect branch whitelist. Migration: remove existing invalid protect branch whitelist records.