mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
12 lines
293 B
Ruby
12 lines
293 B
Ruby
|
|
class AddSmsToPreference < ActiveRecord::Migration
|
||
|
|
def self.up
|
||
|
|
add_column :preferences, :sms_email, :string
|
||
|
|
add_column :preferences, :sms_context_id, :integer
|
||
|
|
end
|
||
|
|
|
||
|
|
def self.down
|
||
|
|
remove_column :preferences, :sms_context_id
|
||
|
|
remove_column :preferences, :sms_email
|
||
|
|
end
|
||
|
|
end
|