From b80bd744ad873f6fc43018bc4bfb90677de167bd Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Mon, 17 Dec 2012 12:01:45 +0100 Subject: Start of GS5. --- db/migrate/20120421075735_populate_softkey_functions.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20120421075735_populate_softkey_functions.rb (limited to 'db/migrate/20120421075735_populate_softkey_functions.rb') 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 -- cgit v1.2.3