make migration work even if there is no notices table yet
properly catch non existing table error

The notices table does not exist in all databases yet. So let's catch the error caused by this.
on update cleanup before running migrations
make sure we have a config/crabgrass dir to put the secret in
cd has to be on the same line as the call to rake
deploy:symlink is deprecated
we need to cleanup the old data before running migrations
class names are singular: Federating
using mysql2 gem now
specify RAILS_ENV and join upgrade tasks in a single line command
define only production database

  <<: *references do not work anymore with the latest yaml parser
make migration pure sql so it's faster