aboutsummaryrefslogtreecommitdiff
path: root/models/migrations/v1_16/v191.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_16/v191.go')
-rw-r--r--models/migrations/v1_16/v191.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_16/v191.go b/models/migrations/v1_16/v191.go
index 2d2c3d1a5..c618783c0 100644
--- a/models/migrations/v1_16/v191.go
+++ b/models/migrations/v1_16/v191.go
@@ -16,7 +16,7 @@ func AlterIssueAndCommentTextFieldsToLongText(x *xorm.Engine) error {
return err
}
- if setting.Database.UseMySQL {
+ if setting.Database.Type.IsMySQL() {
if _, err := sess.Exec("ALTER TABLE `issue` CHANGE `content` `content` LONGTEXT"); err != nil {
return err
}