ddl - Liquibase/PostgreSQL: how to preserve table case correctly? -


i'm using liquibase 3.1.1 create tables in postgresql 9.1. example:

<changeset id="1" author="bob">     <createtable tablename="batches">         <!-- .. -- >     </createtable> </changeset> 

however, table gets created lowercase name:

# select * "batches"; error:  relation "batches" not exist 

is there way have liquibase generate ddl preserves case of table (and column etc) names specify in change log?

you can use objectquotingstrategy="quote_all_objects" attribute on changeset attribute or on databasechangelog root element override default logic of "only quote objects have be"


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -