awferreira / c5-db-migration

Automatically exported from code.google.com/p/c5-db-migration
0 stars 0 forks source link

Option to skip plugin execution #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Many plugins allow to define a configuration option "skip" which when is set to 
true avoids its the execution. 

It is useful as many times when you produce builds for different environments 
the build is not created on the target machine nor the target DB is accesible 
from the machine that makes the build, therefore the need to avoid runnng the 
migration automatically against the target DB on building time, as it will be 
runned manually later when the release is deployed.

One could simply avoid associating a build phase with the migration and run it 
manually, however on development machines is useful to automatically migrate DB 
on compilation to keep it always up to date and for the whole team to test the 
different created migrations.

Original issue reported on code.google.com by triforc...@gmail.com on 2 Oct 2010 at 10:48