Liquibase Community Forum
2010-10-25 12:06:33 UTC
A new topic, 'add boolean column with defaultValueNumeric', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=757.new#new
The text of the topic is shown below:
Hello,
although this is not very logical I run into the following problem. In Liquibase 1.9.x it is possible to specify a new boolean column with a default numeric value. With the current RC of the coming 2.0 this is not possible anymore. Because I have this in some older change logs here is a patch to BooleanType which also parses numeric values. 1 becomes true, everything else false. If you agree to this, can you include it?
Regards,
Chris
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.
You can see it at
http://liquibase.org/forum/index.php?topic=757.new#new
The text of the topic is shown below:
Hello,
although this is not very logical I run into the following problem. In Liquibase 1.9.x it is possible to specify a new boolean column with a default numeric value. With the current RC of the coming 2.0 this is not possible anymore. Because I have this in some older change logs here is a patch to BooleanType which also parses numeric values. 1 becomes true, everything else false. If you agree to this, can you include it?
Regards,
Chris
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.