Database migrations during a promotion


We need to run db migration scripts on each promotion. Each tier (dev, test, and acceptance) has its own db, so when we promote, we would like to run the appropriate migration scripts. Is there a way to add steps to a promotion?


Hi Ashish,

We have a page here explaining some of the concepts behind how to approach a database migration:

There’s no way to add steps to a promotion. Rather, you would add the step to the project so that it is run every deployment, and then try to make the step smart enough to know whether it needs to run or not.