aboutsummaryrefslogtreecommitdiff
path: root/models/migrations/v1_14/v175.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_14/v175.go')
-rw-r--r--models/migrations/v1_14/v175.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_14/v175.go b/models/migrations/v1_14/v175.go
index f1b9b974c..70d72b260 100644
--- a/models/migrations/v1_14/v175.go
+++ b/models/migrations/v1_14/v175.go
@@ -14,7 +14,7 @@ import (
)
func FixPostgresIDSequences(x *xorm.Engine) error {
- if !setting.Database.UsePostgreSQL {
+ if !setting.Database.Type.IsPostgreSQL() {
return nil
}