Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COPY- generateChangelog optionally creates runOnChange=true and replaceIfExists=true for createView changes #5345

Closed
wants to merge 28 commits into from

Conversation

MalloD12
Copy link
Collaborator

@MalloD12 MalloD12 commented Dec 9, 2023

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Things to be aware of

Things to worry about

Additional Context

mkarg and others added 26 commits August 10, 2023 08:56
…aceIfExists=true for createView changes

Comma-separated list of change types instead of true/false allows to specify createProcedure besides createView
…aceIfExists=true for createView changes

New interface ReplaceIfExists instead of list of distinct classes
…aceIfExists=true for createView changes

New interface ReplaceIfExists removes the need for if-instanceof.
…aceIfExists=true for createView changes

Dynamically detects available implementations of ReplaceIfExists.
…aceIfExists=true for createView changes

Validating --replace-if-exists-types and --run-on-change-types
- Integration test added to validate runOnChange and replaceIfExists properties are added to a changeset when generate-changelog command is executed.
- Extract commond behaviour in a abstract class.
- Add DiffChangelog integration test.
# Conflicts:
#	liquibase-integration-tests/src/test/groovy/liquibase/diffchangelog/DiffChangelogIntegrationTest.groovy
#	liquibase-standard/src/main/java/liquibase/command/core/GenerateChangelogCommandStep.java
- Update test table name from changelog test data in order to avoid issues when looking for it.
…ngelog command step classes.

- Renamed arguments.
- Updated tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants