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

Re : How to use Snowflake extension

I was also working with liquibase for a while.If it helps here's the example how I did it.https://github.com/hello-ish/liquibase-snowflake-sampleNOTE: Many thanks and credit goes to Bruce.

View Article


liquibase skips quotes for default value 'infinity' - PostgresSQL

HelloI'm using PostgresSQL server and there are columns which have default value set up to 'infinity'. But liquibase removes quotes and i have error related to syntax in generated sql. But it works...

View Article


dollar sign in procedure - Postgres

HiI'm trying to move stored procedure between PostgresSQL instances using sql type of changeLogFile but getting following error related to dollar signs in procedure:Liquibase Pro 3.8.7 by Datical...

View Article

Tagging in SQL format changeset

I am trying to create tag of database whenever any data is updated on database with liquibase command.Does liquibase support tagging in SQL format changeset?Please find the content of the .sql...

View Article

Re : Tagging in SQL format changeset

When using formatted SQL changelogs, each change is basically a <sql> change, so you can't use any of the other change types, including the <tag> change type. This is one of the downsides...

View Article


Re : Tagging in SQL format changeset

Hi Steve,I am using liquibase cli with steps you mentioned that I need to perform in bamboo.Do I need to perform liquibase with tagging option in cli?Please refer the screenshot of bamboo attached.Let...

View Article

Re : Tagging in SQL format changeset

Hard to tell what you are doing because most of the script is cut off in the screenshot. I can see that you are removing a changelog and then running liquibase, but I can't tell what liquibase command...

View Article

Re : Tagging in SQL format changeset

Hi Steve,All the file are checked out from bitbucket repository.Bamboo Changelog task:Generating changelog from existing DBcd ${bamboo.changeLogFile}rm dbchangelog.mysql.sqlcd...

View Article


Re : Tagging in SQL format changeset

Lots of things to discuss here.It is not clear to me why you are running the generateChangelog command repeatedly. Typically this is only done once, when you first start using Liquibase, to generate an...

View Article


precondition is not working for schema

Hi, I want to have "IF NOT EXIST" functionality for my schema creation in Oracle. I am using liquibase for ddl and spring boot application. <changeSet author="admin" id="1"> <preConditions...

View Article

Re : Liquibase does not seem to recognize new rows for changeset

I added 2 rows to a table in Referece1 DB Please clarify, are those data inserts?

View Article

Re : precondition is not working for schema

If not exists, and other flow control logic are not valid ddl statements to converted into xml using the ddl workflow.  This is because the ddl is created as a comparison between 2 states of the...

View Article

Re : dollar sign in procedure - Postgres

Would you mind sharing the whole script?  It looks similar to this issue.So instead of using REPLACE PROCEDURE public.sp_test() LANGUAGE plpgsqlAS $procedure$begintryREPLACE PROCEDURE public.sp_test()...

View Article


Re : Sql statement is finished, but changeset not marked as executed

Hi Brent,Would you mind posting the complete output from the command line?  You can either redirect the output >>logfile.txt or you can use:liquibase --logFile=<fileName> --logLevel=debug...

View Article

Re : liquibase skips quotes for default value 'infinity' - PostgresSQL

Hi Taras,Are you generating changelogs where it isn't handled right? Or are they trying to specify it in an xml/yaml/json changelog but the generated SQL isn't correct?Could you please post the problem...

View Article


Re : Exporting data from pg_catalog (PostgreSQL)

Hi!Would you mind sharing your commandline output?  It may also be helpful to add --logLevel=FINEST argument to get more diagnostic output.Thanks,Ronak

View Article

Re : Loaddata is is working for db2 database

Hi k20.sudarshana,Would love to help, may I get some clarification? Looking at your test.csv, I see only column headers, are you saying there is no data?Could we see the commandline out put? maybe use...

View Article


Re : precondition is not working for schema

Thanks Ronak.Its my mistake.  ChangeSet is executing after adding the property runAlways=true.  I am using SpringBoot application, so I will restart and check the application often.  So, without...

View Article

Liquibase and Docker

Hi,I am trying to use the container version of Liquibase.  When I run the container, It exits almost immediately.  Is this by design?  Also, how would i use the updateSql command.  When I try to use...

View Article

Re : Liquibase and Docker

Yes, Barry1, it starts, executes Liquibase, and shutsdown. The use case is to be able to run Liquibase on a system that might not have Liquibase installed but does have Docker.Check out the...

View Article
Browsing all 2993 articles
Browse latest View live


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