forgejo/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
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 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
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 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