GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20130417153542_add_icon_size_to_subscriptions.rb 274 B

12345678910
  1. class AddIconSizeToSubscriptions < ActiveRecord::Migration
  2. def up
  3. add_column :subscriptions, :icon_size, :integer, :default => 12
  4. Subscription.all.each { |s| s.update_attribute :icon_size, 12 }
  5. end
  6. def down
  7. remove_column :subscriptions, :icon_size
  8. end
  9. end