add before_migration.rb file