Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove migration support from versions earlier than 1.6.0 (#10026) | guillep2k | 2020-01-31 | 1 | -167/+0 |
| | | | | | | | | | | | | | | * Remove migration support from versions earlier than 1.6.0 * Remove unused functions * Update gogs upgrade instructions * Improve "latest" link as per @jolheiser Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> | ||||
* | Upgrade xorm to v0.8.0 (#8536) | Lunny Xiao | 2019-10-17 | 1 | -1/+1 |
| | |||||
* | Move database settings from models to setting (#7806) | Lunny Xiao | 2019-08-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | * move database settings from models to setting * update docs * fix checkout pr * fix tests * fix lint * remove unsupported tidb options * correct wrong variable name * remove tidb totally | ||||
* | Fix failing migration v67 (#5849) | Jakub Arbet | 2019-01-26 | 1 | -8/+8 |
| | | | Fixes #5848 | ||||
* | Migration fixes for gogs (0.11.66) to gitea (1.6.0) #5318 (#5341) | Florian Eitel | 2018-11-18 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove field from migration to support upgrades from older version That will ensure the field does not get queried in the Select if it does not exist yet: ``` [I] [SQL] SELECT "id", "repo_id", "index", "poster_id", "name", "content", "milestone_id", "priority", "assignee_id", "is_closed", "is_pull", "num_comments", "ref", "deadline_unix", "created_unix", "updated_unix [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: pq: column "ref" does not exist ``` see #5318 * Skip remove stale watcher migration if not required Otherwise the migration will fail if executed from a older database version without multiple IssueWatch feature. ``` 2018/11/11 23:51:14 [I] [SQL] SELECT DISTINCT "issue_watch"."user_id", "issue"."repo_id" FROM "issue_watch" INNER JOIN issue ON issue_watch.issue_id = issue.id WHERE (issue_watch.is_watching = $1) LIMIT 50 []int [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: pq: relation "issue_watch" does not exist ``` see #5318 | ||||
* | Fix not removed watches on unallowed repositories (#4201) | David Schneiderbauer | 2018-06-19 | 1 | -0/+158 |