dbdeployer icon indicating copy to clipboard operation
dbdeployer copied to clipboard

Baseline with variables to replace

Open cjestel opened this issue 7 years ago • 0 comments

When you have used variables_to_replace and they are interpolated into the schema that is stood up, you can't then dump the schema and have it work consistently when deployed to new boxes as those variables will be the interpolated string from the box that did the baseline.

Proposed solution: Create a new CLI variable that denotes you are doing a baseline and when that variable is present, it will override the interpolation to use the key instead of the value for the key->value pair. When the schema/seed data is then dumped, it will preserve the variable.

cjestel avatar Mar 20 '17 17:03 cjestel