Sha256: 1d856ded17629884e775e941ecb43655cde8920ae00e6aa9338c5334ff792db3

Contents?: true

Size: 268 Bytes

Versions: 33

Compression:

Stored size: 268 Bytes

Contents

class RefreshInterval < ActiveRecord::Migration
  def self.up
    add_column :icals, :ical_refresh_interval, :integer
    Radiant::Config['event_calendar.default_refresh_interval'] = 3600
  end
  def self.down
    remove_column :icals, :ical_refresh_interval
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.5.6 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.5.5 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.5.4 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.5.3 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.5.1 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.5.0 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.14 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.12 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.10 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.9 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.8 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.7 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.6 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.5 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.2 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.1 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.4.0 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.3.9 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.3.8 db/migrate/010_refresh_interval.rb
radiant-event_calendar-extension-1.3.7 db/migrate/010_refresh_interval.rb