(It doesn't do anything if run from Rake [so rake db:migrate still
works!], and if you have other circumstances where you don't want its
protection, you can define NO_MIGRATION_CHECK on the command line - I
have a couple of capistrano tasks that use this.)
...Bryan
-igal