go-gitea/models/migrations
David Schneiderbauer 74399f333f Backport of migration fixes (#2604) (#2677)
* Rewrite migrations to not depend on future code changes (#2604)

* v38 migration used an outdated version of RepoUnit model (#2602)

* change repoUnit model in migration

* fix v16 migration repo_unit table

* fix lint error

* move type definition inside function

* Fix migration from Gogs

* Refactor code

* add error check

* Additiomal fixes for migrations

* Add back nil check

* replace deprecated .Id with .ID

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>

* change string map to interface map

Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-10-09 16:08:22 +03:00
..
migrations.go Backport of 2611 / Fix doubled issue tab introduced in migration v16 (#2622) 2017-10-01 09:18:49 +03:00
v13.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
v14.go Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
v15.go Backport of migration fixes (#2604) (#2677) 2017-10-09 16:08:22 +03:00
v16.go Backport of migration fixes (#2604) (#2677) 2017-10-09 16:08:22 +03:00
v17.go
v18.go Take back control of hooks (#1006) 2017-02-23 11:40:44 +08:00
v19.go Fix upgrade failed after ever rollback (#1194) 2017-03-10 23:43:51 +08:00
v20.go fix avatar update bug (#1729) 2017-05-16 08:36:09 +08:00
v21.go Backport: Fix lint, fmt and integration testing errors (#2553) 2017-09-20 19:30:20 +03:00
v22.go fix forget migration for wiki hooks (#1227) 2017-03-13 14:27:29 +08:00
v23.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
v24.go fix gpg wrong column types 2017-03-20 02:55:07 +01:00
v25.go Show user OpenID URIs in their profile (#1314) 2017-03-20 09:31:08 +01:00
v26.go rewrite pre-commit, post-commit and options hooks (fixes #1250) (#1257) 2017-03-23 09:12:51 +08:00
v27.go Fix broken migration v27 (#1504) 2017-04-30 10:08:16 +08:00
v28.go Convert xorm literal queries to method calls (#2253) 2017-08-04 12:42:51 +08:00
v29.go Status-API (#1332) 2017-04-21 19:32:31 +08:00
v30.go Add primary key and index to external login user table (#1656) 2017-05-02 16:41:44 +08:00
v31.go Add units to team (#947) 2017-05-18 22:54:24 +08:00
v32.go Add units to team (#947) 2017-05-18 22:54:24 +08:00
v33.go Rename misnamed migration (#1867) 2017-06-04 11:09:50 +08:00
v34.go Migration to fix existing owner team units (#1873) 2017-06-05 05:40:25 -05:00
v35.go Fix "Dashboard shows deleted comments" (#1995) 2017-06-25 20:20:29 +02:00
v36.go Fix git hooks update to receive required arguments. Fixes #2090 (#2095) 2017-07-02 21:50:57 +08:00
v37.go Backport of migration fixes (#2604) (#2677) 2017-10-09 16:08:22 +03:00
v38.go Backport of migration fixes (#2604) (#2677) 2017-10-09 16:08:22 +03:00
v42.go Sync releases table with tags on push and for mirrors (#2459) (#2554) 2017-09-21 01:08:22 +03:00
v43.go Fix adding branch as protected to not allow pushing to it (#2556) 2017-09-20 20:14:09 +03:00
v44.go Backport of 2611 / Fix doubled issue tab introduced in migration v16 (#2622) 2017-10-01 09:18:49 +03:00