diff --git a/oracle.go b/oracle.go index 5d6d4a2..2bcdff9 100644 --- a/oracle.go +++ b/oracle.go @@ -168,7 +168,7 @@ func (d Dialector) DataTypeOf(field *schema.Field) string { if val, ok := field.TagSettings["AUTOINCREMENT"]; ok && utils.CheckTruth(val) { sqlType += " GENERATED BY DEFAULT AS IDENTITY" } - case schema.String: + case schema.String, "VARCHAR2": size := field.Size defaultSize := d.DefaultStringSize