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
..
2017-05-16 08:36:09 +08:00
2017-03-21 08:55:00 +08:00
2017-03-20 02:55:07 +01:00
2017-04-30 10:08:16 +08:00
2017-04-21 19:32:31 +08:00
2017-05-18 22:54:24 +08:00
2017-05-18 22:54:24 +08:00
2017-06-04 11:09:50 +08:00