Sha256: c5d950ffa67271dcecd59e28771fef8d2e382c91fb0ded1086c896f927f9ce43

Contents?: true

Size: 392 Bytes

Versions: 33

Compression:

Stored size: 392 Bytes

Contents

class CleanOutCalendar < ActiveRecord::Migration
  def self.up
    remove_column :calendars, :ical_url
    remove_column :calendars, :last_refresh_date
    remove_column :calendars, :last_refresh_count
  end
  def self.down
    add_colum :calendars, :ical_url, :string
    add_column :calendars, :last_refresh_date, :datetime
    add_column :calendars, :last_refresh_count, :integer
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

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