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.3.6 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.3.5 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.3.4 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.3.3 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.3.2 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.3.1 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.3.0 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.1.2 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.1.1 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.1.0 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.0.2 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.0.1 db/migrate/008_clean_out_calendar.rb
radiant-event_calendar-extension-1.0.0 db/migrate/008_clean_out_calendar.rb