gitea/models/migrations
Giteabot ecae62837c
Refactor setting.Database.UseXXX to methods (#23354) (#23356)
Backport #23354

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.

Co-authored-by: Jason Song <i@wolfogre.com>
2023-03-07 20:11:44 +08:00
..
base Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
fixtures Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
v1_6 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_7 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_8 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_9 Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v1_10 Add API management for issue/pull and comment attachments (#21783) 2022-12-09 14:35:56 +08:00
v1_11 Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
v1_12 Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
v1_13 Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
v1_14 Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
v1_15 Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
v1_16 Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
v1_17 Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
v1_18 Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
v1_19 Refactor setting.Database.UseXXX to methods (#23354) (#23356) 2023-03-07 20:11:44 +08:00
migrations.go Add comment marking the end of database migrations in 1.19.0 (#22975) 2023-02-20 10:30:36 +08:00