Skip to content

Commit

Permalink
Merge pull request #2606 from liquibase/DAT-9327
Browse files Browse the repository at this point in the history
DAT-9327 Best practice message
  • Loading branch information
suryaaki2 committed Mar 10, 2022
2 parents 50757b9 + d1c1cab commit 8f5d443
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ public class InternalGenerateChangelogCommandStep extends InternalDiffChangelogC
public static final String[] COMMAND_NAME = {"internalGenerateChangelog"};

private static final String INFO_MESSAGE =
"When generating formatted SQL changelogs, it is important to decide if batched statements\n" +
"should be split or not. For storedlogic objects, the default behavior is 'splitStatements:false'\n." +
"All other objects default to 'splitStatements:true'. See https://docs.liquibase.org for additional information.";

"BEST PRACTICE: When generating formatted SQL changelogs, always check if the 'splitStatements' attribute" + System.lineSeparator() +
"works for your environment. See https://docs.liquibase.com/commands/generatechangelog.html for more information. ";

public static final CommandArgumentDefinition<String> AUTHOR_ARG;
public static final CommandArgumentDefinition<String> CONTEXT_ARG;
Expand Down

0 comments on commit 8f5d443

Please sign in to comment.