summaryrefslogtreecommitdiff
path: root/db/migrate/20121230110747_snom_meetingpoint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20121230110747_snom_meetingpoint.rb')
-rw-r--r--db/migrate/20121230110747_snom_meetingpoint.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/db/migrate/20121230110747_snom_meetingpoint.rb b/db/migrate/20121230110747_snom_meetingpoint.rb
index 1484777..04ad450 100644
--- a/db/migrate/20121230110747_snom_meetingpoint.rb
+++ b/db/migrate/20121230110747_snom_meetingpoint.rb
@@ -1,14 +1,14 @@
class SnomMeetingpoint < ActiveRecord::Migration
def up
- if Manufacturer.where(:ieee_name => 'SNOM Technology AG').any?
- snom = Manufacturer.where(:ieee_name => 'SNOM Technology AG').first
- snom.phone_models.create(:name => 'snom MeetingPoint',
+ if Manufacturer.where(:ieee_name => 'SNOM Technology AG').any?
+ snom = Manufacturer.where(:ieee_name => 'SNOM Technology AG').first
+ snom.phone_models.create(:name => 'snom MeetingPoint',
:product_homepage_url => 'http://www.snom.com/en/products/sip-conference-phone/snom-meetingpoint/',
:product_manual_homepage_url => 'http://wiki.snom.com/Snom_MeetingPoint/Documentation')
- end
+ end
end
def down
- PhoneModels.where(:name => 'snom MeetingPoint').destroy_all
+ PhoneModels.where(:name => 'snom MeetingPoint').destroy_all
end
end