Commit e2cf67ff authored by Sietse Ringers's avatar Sietse Ringers

fix: make credential type SQL column smaller

To make the indices fit in MariaDB 10.1
parent cdfbdf87
......@@ -302,7 +302,7 @@ func (metaObjectIdentifier) GormDataType(dialect gorm.Dialect) string {
case "postgres":
return "text"
case "mysql":
return "varchar(512)"
return "varchar(255)"
default:
return ""
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment