Sha256: 22b7948c73d169e00c037c1e850728f21d26f4ec8b6f314addc1ee59ceb39500

Contents?: true

Size: 634 Bytes

Versions: 33

Compression:

Stored size: 634 Bytes

Contents

class SimplerIcalColumns < ActiveRecord::Migration
  def self.up
    rename_column :icals, :ical_url, :url
    rename_column :icals, :ical_username, :username
    rename_column :icals, :ical_password, :password
    rename_column :icals, :ical_use_https, :use_https
    rename_column :icals, :ical_refresh_interval, :refresh_interval
  end

  def self.down
    rename_column :icals, :url, :ical_url
    rename_column :icals, :username, :ical_username
    rename_column :icals, :password, :ical_password
    rename_column :icals, :use_https, :ical_use_https
    rename_column :icals, :refresh_interval, :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/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.5.5 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.5.4 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.5.3 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.5.1 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.5.0 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.14 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.12 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.10 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.9 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.8 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.7 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.6 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.5 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.2 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.1 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.4.0 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.3.9 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.3.8 db/migrate/20090818133511_simpler_ical_columns.rb
radiant-event_calendar-extension-1.3.7 db/migrate/20090818133511_simpler_ical_columns.rb