Liquibase Community Forum
2010-12-15 21:09:20 UTC
A new topic, 'DB-specific conditional column types', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=837.new#new
The text of the topic is shown below:
Is there a way to conditionally specify column types in Liquibase while creating a table? For example --
1. enum for MySQL, as per this: http://dev.mysql.com/doc/refman/5.0/en/enum.html
2. column with check constraints for Oracle to enforce enum-like behaviour
3. simply char(1) for all other DBs
Regards,
Shantanu
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=837.new#new
The text of the topic is shown below:
Is there a way to conditionally specify column types in Liquibase while creating a table? For example --
1. enum for MySQL, as per this: http://dev.mysql.com/doc/refman/5.0/en/enum.html
2. column with check constraints for Oracle to enforce enum-like behaviour
3. simply char(1) for all other DBs
Regards,
Shantanu
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.