Anupam Kumar
Anupam Kumar

Reputation: 173

migrating change from Development to to production environment

All,

I trying to implement Liquibase for database DDL related code promotion from one to another environment. Let's for the first time when i am doing deployment generateChangeLog will generate full db DDL which can be executed in another environment. Now i have added new table and altered some column in development. How to generate changeset for just these two changes.

Regards, Anupam

Upvotes: 0

Views: 354

Answers (1)

htshame
htshame

Reputation: 7330

As was already told by @a_horse_with_no_name

You shouldn't add or alter tables manually. You should write the corresponding Liquibase changeSets and run those

Perhaps liquibase diff or diffChangeLog will help you, but using these commands in such a way indeed goes against the idea behind Liquibase.

Upvotes: 1

Related Questions