diff --git a/lib/mysql/table.go b/lib/mysql/table.go index b327a2d0..edc513a4 100644 --- a/lib/mysql/table.go +++ b/lib/mysql/table.go @@ -43,13 +43,8 @@ func LoadTable(db *sql.DB, name string, sqlMode []string) (*Table, error) { } for _, col := range createTableResult.GetColumns() { -<<<<<<< HEAD - // TODO: Pass in sql mode - dataType, opts, err := schema.ParseColumnDataType(col.DataType, col.DefaultValue, nil) -======= dataType, opts, err := schema.ParseColumnDataType(col.DataType, sqlMode) ->>>>>>> master if err != nil { return nil, fmt.Errorf("failed to parse column data type: %w", err) }