mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 08:40:12 +01:00
10 lines
247 B
Ruby
10 lines
247 B
Ruby
|
|
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
|