1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/models/migrations/base
Jason Song c84238800b
Refactor setting.Database.UseXXX to methods (#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.
2023-03-07 18:51:06 +08:00
..
db_test.go
db.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
hash.go Use minio/sha256-simd for accelerated SHA256 (#23052) 2023-02-22 14:21:46 -05:00
main_test.go
testlogger.go
tests.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00