summaryrefslogtreecommitdiffstats
path: root/models/migrations/v64.go
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade xorm to v0.8.0 (#8536)Lunny Xiao2019-10-171-1/+1
|
* Display ui time with customize time location (#7792)Lunny Xiao2019-08-151-7/+7
| | | | | | | | | | | | | | | | | | * display ui time with customize time location * fix lint * rename UILocation to DefaultUILocation * move time related functions to modules/timeutil * fix tests * fix tests * fix build * fix swagger
* refactor: append, build variable and type switch (#4940)Bo-Yi Wu2019-05-281-2/+2
| | | | | | * refactor: append, build variable and type switch * fix: remove redundant space.
* Migration fixes for gogs (0.11.66) to gitea (1.6.0) #5318 (#5341)Florian Eitel2018-11-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 column droping for MSSQL that need new transaction for that (#4440)Lauris BH2018-07-131-0/+8
|
* Fix multiple asssingee table migration (#3931)Lauris BH2018-05-101-37/+39
|
* Multiple assignees (#3705)kolaente2018-05-091-0/+129