tracks/db/migrate/20121223144702_no_default_admin_email.rb

10 lines
247 B
Ruby
Raw Permalink Normal View History

class NoDefaultAdminEmail < ActiveRecord::Migration
def up
remove_column :preferences, :admin_email
end
def down
add_column :preferences, :admin_email, :string, {:default => "butshesagirl@rousette.org.uk", :null => false}
end
end