aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v216.go
Commit message (Collapse)AuthorAgeFilesLines
* Split migrations folder (#21549)Lunny Xiao2022-11-021-8/+0
| | | | There are too many files in `models/migrations` folder so that I split them into sub folders.
* Refix indices on actions table (#20158)zeripath2022-07-011-40/+2
| | | | | | | | | Unforunately the previous PR #20035 created indices that were not helpful for SQLite. This PR adjusts these after testing using the try.gitea.io db. Fix #20129 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Simplify and fix migration 216 (#20035)zeripath2022-06-191-21/+0
| | | | | | | | | | There appears to be a strange bug whereby the comment_id index can sometimes be missed or missing from the action table despite the sync2 that should create it in the earlier part of this migration. However, looking through the code for Sync2 there is no need for this pre-code to exist and Sync2 should drop/create the indices as necessary. I think therefore we should simplify the migration to simply be Sync2. Signed-off-by: Andrew Thornton <art27@cantab.net>
* Improve action table indices (#19472)zeripath2022-06-181-0/+67