diff options
Diffstat (limited to 'db/migrate/20120421075735_populate_softkey_functions.rb')
-rw-r--r-- | db/migrate/20120421075735_populate_softkey_functions.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120421075735_populate_softkey_functions.rb b/db/migrate/20120421075735_populate_softkey_functions.rb new file mode 100644 index 0000000..36eb02f --- /dev/null +++ b/db/migrate/20120421075735_populate_softkey_functions.rb @@ -0,0 +1,9 @@ +class PopulateSoftkeyFunctions < ActiveRecord::Migration + def up + SoftkeyFunction.create(:name => 'call_forwarding') + end + + def down + SoftkeyFunction.where(:name => 'call_forwarding').destroy_all + end +end |