Liquibase - generate table names in lowercase -
Liquibase - generate table names in lowercase -
i using liquibase 3.2.0 perform upgrade on oracle db. existing table names in schema in lowercase
my problem is, when utilize liquibase run changeset, table names generated in upper-case.
a typical entry in changeset looks follows:
<changeset author="me (generated)" id="1403006263048-2"> <createtable tablename="batch_job"> <column name="id" type="number"> <constraints nullable="false" primarykey="true" primarykeyname="batch_jobpk"/> </column> <column name="version" type="number"> <constraints nullable="false"/> </column> <column name="execution_time_stamp" type="timestamp"> <constraints nullable="false"/> </column> <column name="reference_region" type="varchar2(5)"> <constraints nullable="false"/> </column> <column name="trigger_description" type="varchar2(255)"> <constraints nullable="false"/> </column> </createtable> </changeset> however, resulting table name is: batch_job
i have tried setting attribute objectquotingstrategy="quote_all_objects" in databasechangelog element, no success.
is there way accomplish want? familiar advice offered in liquibase/postgresql: how preserve table case correctly?
any help much appreciated. thanks!
it looks bug in how liquibase handling case standardization. log issue @ liquibase.jira.com?
for now, easiset approach utilize <modifysql> block prepare case of table problem. or fall on <sql> tag.
liquibase
Comments
Post a Comment