diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-04 23:53:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-04 23:53:46 +0800 |
commit | 8a421b1fd702d99e8438f6ef6f4ee339f1eaa130 (patch) | |
tree | c69e598ca9dca29dc64a4e1d8525165ec794106f /models/migrations/migrations.go | |
parent | 49fa03bf4286bd2cbf90b271fb65d4f70e5de57f (diff) | |
download | gitea-8a421b1fd702d99e8438f6ef6f4ee339f1eaa130.tar.gz gitea-8a421b1fd702d99e8438f6ef6f4ee339f1eaa130.zip |
Add units concept for modulable functions of a repository (#742)
* Add units concept for modulable functions of a repository
* remove unused comment codes & fix lints and tests
* remove unused comment codes
* use struct config instead of map
* fix lint
* rm wrong files
* fix tests
Diffstat (limited to 'models/migrations/migrations.go')
-rw-r--r-- | models/migrations/migrations.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go index 5844e3f923..9832cdca92 100644 --- a/models/migrations/migrations.go +++ b/models/migrations/migrations.go @@ -76,10 +76,12 @@ var migrations = []Migration{ // v13 -> v14:v0.9.87 NewMigration("set comment updated with created", setCommentUpdatedWithCreated), - // v14 + // v14 -> v15 NewMigration("create user column diff view style", createUserColumnDiffViewStyle), - // v15 + // v15 -> v16 NewMigration("create user column allow create organization", createAllowCreateOrganizationColumn), + // V16 -> v17 + NewMigration("create repo unit table and add units for all repos", addUnitsToTables), } // Migrate database to current version |