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.
1 parent 71b193d commit befa651Copy full SHA for befa651
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