summaryrefslogtreecommitdiffstats
path: root/models/migrations/v182.go
Commit message (Collapse)AuthorAgeFilesLines
* Split migrations folder (#21549)Lunny Xiao2022-11-021-42/+0
| | | | There are too many files in `models/migrations` folder so that I split them into sub folders.
* Add primary_key to issue_index (#16813)zeripath2021-08-251-2/+2
| | | | | | | | | | | | Make the group_id a primary key in issue_index. This already has an unique index and therefore is a good candidate for becoming a primary key. This PR also changes all other uses of this table to add the group_id as the primary key. Fix #16802 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add a new table issue_index to store the max issue index so that issue could ↵Lunny Xiao2021-06-141-0/+42
be deleted with no duplicated index (#15599) * Add a new table issue_index to store the max issue index so that issue could be deleted with no duplicated index * Fix pull index * Add tests for concurrent creating issues * Fix lint * Fix tests * Fix postgres test * Add test for migration v180 * Rename wrong test file name Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>