We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1eb2896 + f6bdd94 commit a9736f5Copy full SHA for a9736f5
oracle/oracle.go
@@ -133,11 +133,6 @@ func (d Dialector) Migrator(db *gorm.DB) gorm.Migrator {
133
134
// Determines the data type for a schema field
135
func (d Dialector) DataTypeOf(field *schema.Field) string {
136
- // TODO : Not sure why this is added in the reference implementation
137
- if _, found := field.TagSettings["RESTRICT"]; found {
138
- delete(field.TagSettings, "RESTRICT")
139
- }
140
-
141
switch field.DataType {
142
case schema.Bool:
143
return d.getBooleanType()
0 commit comments