Skip to content

How to mark changes as "fake" in sqitch? #869

Answered by theory
lorddaedra asked this question in Q&A
Discussion options

You must be logged in to vote

I think --log-only is what you want. See it under Options. To deploy for each environment:

PROD

sqitch deploy --log-only core/0001_initial
sqitch deploy

STAGE

sqitch deploy --log-only core/0002_prod_to_stage
sqitch deploy

DEV

sqitch deploy --log-only core/0003_stage_to_dev
sqitch deploy

Depending on your database engine, you might also be able to use variables passed with --set or target.$target.variables (via the target command) for each target and use them for conditional execution in your deploy and revert scripts.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lorddaedra
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants