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

Re : Track Database changes made with out using changeset

In order to do the comparison, yes, you will need two databases. Most development shops have more than one copy of their database, but if you don't then all you need to do is create a new empty...

View Article


Re : How to handle database changes made by an automatic upgrade script?

Hi vvssekhar, It isn't clear what question you are seeking help with. There were several questions in this thread and several answers. Is there some particular problem you are having? If so, can you...

View Article


Re : Upgrading from 2.0.5 to 3.2.0 - Problem with preConditions ?

What is the actual state of the database when you run this? Does the column PRICE_IDS exist?  Steve DoniePrincipal Software EngineerDatical, Inc. http://www.datical.com/

View Article

Re : Upgrading from 2.0.5 to 3.2.0 - Problem with preConditions ?

Yes, the column PRICE_IDS exists, and the precondition fail when i execute this code, and never execute the renameColumn.. and of course other scripts depending on that change fail.

View Article

Re : Track Database changes made with out using changeset

I think we can use the futureRollbackSQL mode to get what I want.  

View Article


Re : How to handle database changes made by an automatic upgrade script?

I do have another Thread Track Database changes made with out using changeset

View Article

Re : Collation support?

Hi! I am also facing effects of missing support for collation. Having a chance to define custom collation at column element would be helpful. I mean, if there can be support for encoding attribute...

View Article

Executing Liquibase.jar via command line

Hi, Now a days we are executing a shell script that is using a command line to run liquibase.jar. We are using already for one year, and works perfectly. Few weeks ago, we updated the liquibase.jar to...

View Article


LiquiBase Migration 2.0.5 to 3.2.2 runOnChange not executed

Hi, This morning I just realized that the runOnChange it is not working as should be.  We were checking this page http://www.liquibase.org/v3_upgrade.html and we saw that there are problems form 2.x...

View Article


Re : Executing Liquibase.jar via command line

The liquibase-core jar contains the command line interface and is located in Maven Central. You can use the following pom definition: < dependency >      < groupId >org.liquibase</...

View Article

Re : Executing Liquibase.jar via command line

Thanks! I will try that ! ;)

View Article

Re : Executing Liquibase.jar via command line

It is working perfectly! thanks!!

View Article

Re : Upgrading from 2.0.5 to 3.2.0 - Problem with preConditions ?

Just to add more information: - We are using Oracle database 11g this conditions are not working in 3.2.2 - columnExists   - TableExists (and maybe more) Debugging the code, looks like is trying to...

View Article


CreateView and schema

Hey guys (and possible girls :) I have found an interesting "issue" when using LiquiBase to create database views. My app is running on WebSphere and using JNDI data source that has no scheme defined...

View Article

Re : How to reference new change in xml file

This is exactly what I was looking for. Can I also do something like <changeSet id="1" author="me">         <ext:myChange attribute1="x">               <ext:nested>blah blah...

View Article


Howto set/override changeset description

I just wrote my first extension and now want it to generate a bit more than my tag name in the description field of the databasechangelog. Looking through the AbstractChange class my first thought was...

View Article

Re : Seems like runOnChange or runAlways is default in 3.2.2

It is strange you are seeing that. RunOnChange defaults to false so if the checksums change you should get validationErrors, not re-execution.  Also, the checksum is normally done against a...

View Article


Re : Liquibase: changeLogPropertyDefined doesn't work

Yes, by default preconditions aren't evaluated in updateSQL unless you use the onSqlOutput="TEST" attribute. Nathan

View Article

Re : LiquiBase Migration 2.0.5 to 3.2.2 runOnChange not executed

Yes, the trouble is that while I try to avoid changes to the checksum logic, sometimes it is not preventable. When there is a change in the logic, that means we cannot know if a changeSet has changed...

View Article

Re : Howto set/override changeset description

The easiest way is to use the @DatabaseChange annotation on your class. If you extend AbstractChange, the superclass will build up the description from the information in the annotation, including the...

View Article
Browsing all 2993 articles
Browse latest View live