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-07-27 12:23:38 +03:00
2017-10-09 16:08:22 +03:00
2017-07-17 10:04:43 +08:00
2017-03-15 08:51:46 +08:00
2017-07-12 22:35:47 -05:00
2017-08-28 19:16:25 +02:00
2017-01-09 21:49:51 +01:00
2017-03-29 10:05:23 +08:00
2017-04-30 14:30:12 +08:00
2017-06-21 08:57:05 +08:00
2017-10-02 23:23:41 +03:00
2017-05-26 09:38:18 +08:00
2017-05-04 13:54:56 +08:00
2017-07-06 21:30:19 +08:00
2017-05-02 16:41:44 +08:00
2017-06-12 10:01:09 -05:00
2017-06-14 04:07:09 -05:00
2017-06-17 18:56:40 +08:00
2017-09-20 19:30:20 +03:00
2017-01-03 10:52:09 +08:00
2017-03-11 12:01:38 +08:00
2017-02-22 17:10:45 -05:00
2017-07-27 09:20:38 +08:00
2017-07-27 09:20:38 +08:00
2017-08-03 13:09:16 +08:00
2017-06-25 14:15:09 +08:00
2017-06-25 14:15:09 +08:00
2017-03-11 16:46:23 +08:00
2017-06-09 09:51:31 +08:00
2017-06-23 21:43:37 +08:00
2017-06-12 10:01:09 -05:00
2017-06-21 08:57:05 +08:00
2017-07-27 09:20:38 +08:00
2017-02-04 20:37:26 +08:00
2017-06-21 08:57:05 +08:00
2017-04-01 10:05:58 -03:00
2017-04-01 09:58:20 -03:00
2017-09-20 19:30:20 +03:00
2017-06-21 08:57:05 +08:00
2017-09-20 19:30:20 +03:00
2017-06-28 13:43:28 +08:00
2017-08-03 13:09:16 +08:00
2017-03-22 22:30:40 +08:00
2016-11-10 08:43:49 -02:00
2017-08-22 14:39:52 +03:00
2017-02-07 19:47:55 +08:00
2017-03-29 20:54:57 -03:00
2017-08-01 13:47:31 +08:00
2017-03-15 08:52:01 +08:00
2017-08-02 11:46:54 +03:00
2017-07-06 21:30:19 +08:00
2017-10-05 21:08:40 +03:00
2017-02-07 19:47:55 +08:00
2017-07-01 14:08:43 +03:00
2017-09-21 01:08:22 +03:00
2017-06-10 21:57:28 -05:00
2017-02-24 09:37:38 +08:00
2017-06-21 08:57:05 +08:00
2017-08-17 15:22:08 +08:00
2017-08-23 09:30:54 +08:00
2017-08-25 10:25:37 +08:00
2017-09-21 01:08:22 +03:00
2017-02-17 08:55:33 +08:00
2017-02-05 22:35:03 +08:00
2017-06-06 08:53:16 -05:00
2017-07-17 10:04:43 +08:00
2017-02-17 16:02:11 +08:00
2017-02-17 16:02:11 +08:00
2017-09-21 01:08:22 +03:00
2017-02-08 14:29:07 +08:00
2017-09-20 19:30:20 +03:00
2017-02-14 15:28:22 +08:00
2017-02-15 14:01:50 +08:00
2017-04-21 19:32:31 +08:00
2017-05-07 22:40:31 +08:00
2017-04-25 15:24:51 +08:00
2017-01-25 10:49:51 +08:00
2017-01-06 23:14:33 +08:00
2017-01-16 10:14:29 +08:00
2017-08-03 13:09:16 +08:00
2017-07-17 10:04:43 +08:00
2017-02-25 22:54:40 +08:00
2017-09-21 01:08:22 +03:00
2017-03-11 16:46:53 +08:00
2017-06-21 08:57:05 +08:00
2017-02-04 09:20:56 +08:00
2017-06-21 08:57:05 +08:00
2017-03-21 08:55:00 +08:00
2017-03-21 08:55:00 +08:00
2017-05-20 16:48:22 +08:00
2017-08-12 22:18:44 +08:00
2017-01-05 08:50:34 +08:00
2017-05-29 02:17:15 -05:00
2017-06-21 08:57:05 +08:00
2017-01-30 13:17:43 +08:00
2017-05-30 04:32:01 -05:00