aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_12
Commit message (Collapse)AuthorAgeFilesLines
* Rename `Sync2` -> `Sync` (#26479)delvh2023-08-1316-26/+26
| | | | | | | | | 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 ```
* 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-2723-46/+23
| | | | | | | | | 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-0223-0/+894
There are too many files in `models/migrations` folder so that I split them into sub folders.