aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_15
Commit message (Collapse)AuthorAgeFilesLines
* enforce nolint scope (#34851)TheFox0x72025-06-2714-14/+14
| | | | | | | | | | | | | | | enable nolintlint scope requirement add comments to new directives so it's more obvious why they are in place --- I can also toggle the mandatory comments on if that's something of interest. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
* Enable testifylint rules (#34075)TheFox0x72025-03-311-2/+2
| | | | enable testifylint rules disabled in: https://github.com/go-gitea/gitea/pull/34054
* Rename `Sync2` -> `Sync` (#26479)delvh2023-08-138-12/+12
| | | | | | | | | The xorm `Sync2` has already been deprecated in favor of `Sync`, so let's do the same inside the Gitea codebase. Command used to replace everything: ```sh for i in $(ag Sync2 --files-with-matches); do vim $i -c ':%sno/Sync2/Sync/g' -c ':wq'; done ```
* Less naked returns (#25713)65432023-07-072-25/+24
| | | | | just a step towards #25655 and some related refactoring
* Refactor `setting.Database.UseXXX` to methods (#23354)Jason Song2023-03-071-2/+2
| | | | | | | | | | | Replace #23350. Refactor `setting.Database.UseMySQL` to `setting.Database.Type.IsMySQL()`. To avoid mismatching between `Type` and `UseXXX`. This refactor can fix the bug mentioned in #23350, so it should be backported.
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-2714-28/+14
| | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Split migrations folder (#21549)Lunny Xiao2022-11-0214-0/+658
There are too many files in `models/migrations` folder so that I split them into sub folders.