summaryrefslogtreecommitdiffstats
path: root/models/index.go
Commit message (Collapse)AuthorAgeFilesLines
* Add primary_key to issue_index (#16813)zeripath2021-08-251-1/+1
| | | | | | | | | | | | 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/+113
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>