Skip to content

Commit

Permalink
bulker: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Sep 11, 2024
1 parent db3cf3d commit ce7cf6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bulkerlib/implementations/sql/abstract.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (ps *AbstractSQLStream) adjustTableColumnTypes(currentTable, existingTable,
if existingCol.DataType == newCol.DataType {
continue
}
if newCol.Override || newCol.Important {
if (newCol.Override || newCol.Important) && existingCol.New {
//if column sql type is overridden by user - leave it this way
current.Set(name, newCol)
continue
Expand Down

0 comments on commit ce7cf6f

Please sign in to comment.