Quantcast
Channel: Liquibase Forums
Browsing all 2993 articles
Browse latest View live

liquibase comments in sql formatted changelogs

I have a requirement to retain Oracle SQL comments made inside my Liquibase sql formatted changelogs. Thus I have the following attribute set stripComments:false Such comments in my SQL formatted...

View Article


Re : includeObjects not working with generateChangeLog

To answer my own question: includeObjects is not supported via the command line (in 3.3.5) includeObjects is available from the ant task: generateChangeLog the ant task: generateChangeLog doesn't...

View Article


Re : Error when trying to generateChangeLog : ORA-00942: table or view does...

It turned out to be a permission issue when accessing database metainformation. So not a liquibase issue but a restrictive corporate setup ... and Oracle returning very generic error messages. Thanks...

View Article

Re : BUG: code comments for sql formated files disappers

By default, the stripComments setting is true, so Liquibase will remove all comments from the SQL before executing it. When defining your changeset, specify "stripComments:false" to prevent this from...

View Article

Re : LoadData ChangeSet with "NOW" in the data

You may be able to try defaultValueComputed="'NOW'"  (note that there are single quotes around the NOW inside the double quotes) Nathan

View Article


Re : LoadData ChangeSet with "NOW" in the data

Hello Nathan, Thank you for the reply.  I should have been more specific, sorry.  This column has nothing to do with dates.  It is a text field with arbitrary text data in it.  So what is happening is...

View Article

Wrapped Oracle PL/SQL Code Support By Liquibase

Hi,   I am not sure whether we have Liquibase support for Wrapping PL/SQL code before it is deployed on Database.   Can any one confirm on this?   If it is not supported, it will be nice to have this...

View Article

Re : BUG: code comments for sql formated files disappers

thanks for the answer, this will definetly solve the problem I have,just for your information I created an liquibase jira (CORE-2383 ) at the same time i created this bug report,as a solution to the...

View Article


Re : runAlways="true" fails if the checksum changed?

I have been using 3.2.0 and had to add `<validCheckSum>any</validCheckSum>` to all of my `runAlways=true` change sets. Seems to me that a runAlways would imply the checksum may change over...

View Article


Liquibase modify dbchangelog table

When I run liquibase to generate sql I always get the following lines added to my  output file -- Modifying size of databasechangelog.md5sum column -- Modifying size of databasechangelog.liquibase...

View Article

Bootstrap performance on Oracle with lots of Table

Hello, A looong time is spent between these two logs: 10:21:50 INFO  liquibase - Successfully acquired change log lock 10:22:41 INFO  liquibase - Reading from DATABASECHANGELOG This Oracle database...

View Article

update change with whereParam

Hello, This used to work in 3.3:         <update tableName="PERSON">             <column name="BIRTHDATE" value="1942" type="NUMBER(4)"/>             <whereParams>...

View Article

Strange problem

Hi I have rather weird problem when creating a column of type timestamp with code below. The column in the orders table is created as type datetime, whilst the other is correct (timestamp), can anyone...

View Article


Why does Liquibase want to dropPrimaryKey and addPrimaryKey?

I have Postgres databases generated with Eclipse Link. Between these databases is not any change, but when I run liquibase for generating diffChangeLog, it generates changesets with dropPrimaryKey and...

View Article

How to build statistics for an update run

Liquibase is a great tool. I have just started using it to replace our mix of hand-crafted and generated .sql setup files. One of the enhancements we'd like to make to our DB setup and upgrade process...

View Article


Re : How to build statistics for an update run

There are hooks, but they are not trivial to implement. Datical has been doing just this sort of work on top of Liquibase. It may be more than you need though.  Logging is not the right place to put...

View Article

Re : How to build statistics for an update run

Thanks Steve, I'll try out the ChangeExecListener. It looks like it could support what we need. I was planning on running Luquibase programmatically anyway as I need to also orchestrate the database...

View Article


Liquibase Inheritance creation

Hello I am new to Liquibase and am using it in one of my projects. Is there a possibility of creating inheritance structure in Liquibase. I would like to create two tables (one parent , one child). I...

View Article

Inheritance in Liquibase

Hello I am new to Liquibase and am using it in one of my projects. Is there a possibility of creating inheritance structure in Liquibase. I would like to create two tables (one parent , one child). I...

View Article

Re : How to build statistics for an update run

I implemented a change exec listener which generates a JSON file. I've created a gist with the source. It's written in Scala, but it should be relatively easy to port over to Java....

View Article
Browsing all 2993 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>