1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-13 00:38:12 -04:00
gitea/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
v14.go
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
v18.go
v19.go
v20.go
v21.go
v22.go
v23.go
v24.go
v25.go
v26.go
v27.go
v28.go Replace deprecated Id method with ID (#2655) 2017-10-05 07:43:04 +03:00
v29.go
v30.go
v31.go
v32.go
v33.go
v34.go
v35.go
v36.go
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
v41.go
v42.go
v43.go
v44.go
v45.go Fix index column deletion (#2651) 2017-10-04 14:26:13 +03:00