We recently came across a nasty liquibase bug.
When you drop a not null constraint on a table and you do not add in the column data type liquibase creates the column with a null column type.
Eg:
dropnotnullconstraint tablename="pirates" columnname="crew" --- creates a null column type.
Easy fix:
dropnotnullconstraint tablename="pirates" columnname="crew" columndatatype="VARCHAR(255)"
Just wanted to give everyone a heads up on the problem so they don't burn half a day trying to figure out what is going on.
Subscribe to:
Post Comments (Atom)
1 comment:
Oh I could have told you that... moo hahahaha.
Post a Comment