mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-01 18:40:15 +01:00
Added SMS and MMS gateway that can handle a variety of messages formats along with a set of testes for it.
NOTE: this is the first patch submitted on ticket
This commit is contained in:
parent
1d64ca0f34
commit
8783beb280
13 changed files with 525 additions and 2 deletions
11
db/migrate/039_add_sms_to_preference.rb
Normal file
11
db/migrate/039_add_sms_to_preference.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue