74399f333f
* 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> |
||
---|---|---|
.. | ||
migrations.go | ||
v13.go | ||
v14.go | ||
v15.go | ||
v16.go | ||
v17.go | ||
v18.go | ||
v19.go | ||
v20.go | ||
v21.go | ||
v22.go | ||
v23.go | ||
v24.go | ||
v25.go | ||
v26.go | ||
v27.go | ||
v28.go | ||
v29.go | ||
v30.go | ||
v31.go | ||
v32.go | ||
v33.go | ||
v34.go | ||
v35.go | ||
v36.go | ||
v37.go | ||
v38.go | ||
v42.go | ||
v43.go | ||
v44.go |