Skip to content

Commit

Permalink
Revert "feat: add ignoreMigration support for ParseField"
Browse files Browse the repository at this point in the history
This reverts commit 551393a.
  • Loading branch information
mittwillson committed Sep 28, 2021
1 parent e61bcd6 commit 9e50088
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions schema/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@ func (schema *Schema) ParseField(fieldStruct reflect.StructField) *Field {
field.Comment = val
}

if _, ok := field.TagSettings["IGNOREMIGRATION"]; ok {
field.IgnoreMigration = true
}

// default value is function or null or blank (primary keys)
field.DefaultValue = strings.TrimSpace(field.DefaultValue)
skipParseDefaultValue := strings.Contains(field.DefaultValue, "(") &&
Expand Down

0 comments on commit 9e50088

Please sign in to comment.