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

Re : LiquiBase warning and java.sql.SqlSyntaxErrorException

Looks like you got an answer on StackOverflow. Steve Donie Principal Software Engineer Datical, Inc. http://www.datical.com/

View Article


equivalent?

I'm wondering if the feature request has come in to be able to do: <include file="whatever.xml" contexts="dev" /> I think this would be very useful, as opposed to be putting contexts="whatever"...

View Article


Error in dropIndex in Postgres 9.4

Actually I am working with Liquibase 3.3.2 and Postgres 9.4 and I want to upgrade it to 3.4.1. So I started my tests and I found a problem: When I have a changeset like this: <changeSet...

View Article

generateChangeLog creating two constraint lines in yml

When running the generateChangeLog command with a changelog file that is .yml each constraint is showing up with the tag constraints: twice so when you try and run an update it doesn't pick up the...

View Article

Create index descending not working

Hi everybody. I tried to create an index and to tell it the sorting order to be descending. This is what I tried:       <changeSet author="agageonea" id="index_test"> <createIndex...

View Article


Re : Create index descending not working

There was a forum thread not too long ago that touched on this: http://forum.liquibase.org/topic/create-index-and-order A pull request was created, and that has been merged to master and released in...

View Article

How to generate a SQL file with rollbackSQL with offline mode

Hi all That is the question. I want to generate a file with the sql rollback sentences from a changesets file, but I want to do it without active connection, I mean, offline. So I tried with this...

View Article

When is a changeset considered to have failed?

Sql Server: raiseError allows you to raise errors with varying severity. ( https://msdn.microsoft.com/en-us/library/ms178592.aspx ) a severity of >= 10 will jump you to a catch block, a severity...

View Article


Is there a way to register ChangeExecListener like an extension so I can use...

I want to be able to rewrite some ID PK (and corresponding FK) fields based on sequence values in the target database and the way that seems to make most sense is by using a ChangeExecListener. I have...

View Article


Re : How to build statistics for an update run

I have pushed a PR for supporting setting a ChangeExecListener and Properties file for the listener instance  via the command line.  The properties added are:* changeExecListenerClass *...

View Article

Where to get the current release of extensions - oracle in special?

Hello together, when having a look at the sources of the liquibase-oracle extension on github , I can see that there have been changes in the last two months related to version 3.4.X of liquibase. As I...

View Article

Re : Is there a way to register ChangeExecListener like an extension so I can...

I submitted a PR for this functionality

View Article

how to specify author for changelog when using generateChangeLog &...

When executing these commands, is it possible to specify which author name is going to be set for all the generated change sets?

View Article


Re : how to specify author for changelog when using generateChangeLog &...

Well I solved it while digging on the source code I found out that I should use this parameter --changeSetAuthor You guys should add this on the documentation.

View Article

Re : how to specify author for changelog when using generateChangeLog &...

Thanks for noticing that. I am working on a pull request for that.  Steve DoniePrincipal Software EngineerDatical, Inc. http://www.datical.com/

View Article


Re : Why does databasechangelog not have a primary key?

Thanks for the answer. As I assume Liquibase is doing lookups on the table, a unique index would make sense especially if the table does grow that much. Without an index the database always needs to...

View Article

Re : Why does databasechangelog not have a primary key?

The main answer is because we try to keep things consistent across database types and there are some databases that have max key sizes larger than the author + id + filename values can be.  Originally...

View Article


Liquibase: runOnChange + rollback

According to Liquibase docs stored procs/triggers etc should be stored separately in a single copy and added to changeset with runOnChange to update them for each change. But what is a recommended way...

View Article

Re : Why does databasechangelog not have a primary key?

and there are some databases that have max key sizes larger than the author + id + filename values can be.  Wow. Really? Those only add up to a maximum of 765 characters. I didn't think there were any...

View Article

Re : Why does databasechangelog not have a primary key?

Yeah, seems like a limit we shouldn't be hitting, but we did.  I don't remember what databases ran into problems but I may look at re-enabling it for supported databases in 4.0. Nathan

View Article
Browsing all 1169 articles
Browse latest View live


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