gitroast/models/migrations
David Schneiderbauer ebac051e72 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

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

* fix lint error

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

* Fix time tracking migration

* Refactor code

* Fix migration from Gogs

* 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

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

* fix lint error

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

* Fix time tracking migration

* Refactor code

* Fix migration from Gogs

* add error check

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

* Additiomal fixes for migrations

* Fix timetracking migration

* Add back nil check
2017-10-08 19:08:18 +08:00
..
migrations.go Replace deprecated Id method with ID (#2655) 2017-10-05 07:43:04 +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 Rewrite migrations to not depend on future code changes (#2604) 2017-10-08 19:08:18 +08:00
v16.go Rewrite migrations to not depend on future code changes (#2604) 2017-10-08 19:08:18 +08:00
v17.go Protected branches system (#339) 2017-02-21 23:02:10 +08:00
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 Fix lint errors (#2547) 2017-09-19 11:08:30 +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 Replace deprecated Id method with ID (#2655) 2017-10-05 07:43:04 +03: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 Rewrite migrations to not depend on future code changes (#2604) 2017-10-08 19:08:18 +08:00
v38.go Rewrite migrations to not depend on future code changes (#2604) 2017-10-08 19:08:18 +08:00
v39.go Rewrite migrations to not depend on future code changes (#2604) 2017-10-08 19:08:18 +08:00
v40.go improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
v41.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
v42.go Sync releases table with tags on push and for mirrors (#2459) 2017-09-20 13:26:49 +08:00
v43.go Fix broken migration to add can_push field back to table (#2574) 2017-09-23 16:45:41 +08:00
v44.go Fix doubled issue tab introduced in migration v16 (#2611) 2017-09-28 16:14:51 +03:00
v45.go Fix index column deletion (#2651) 2017-10-04 14:26:13 +03:00