Sha256: 8b2380ce857aa11df020447e6ab4f25a14a573f2398e66742b2c471134c69375

Contents?: true

Size: 628 Bytes

Versions: 33

Compression:

Stored size: 628 Bytes

Contents

class Ownership < ActiveRecord::Migration
  def self.up
    add_column :calendars, :created_by, :integer
    add_column :calendars, :updated_by, :integer
    add_column :calendars, :created_at, :datetime
    add_column :calendars, :updated_at, :datetime
    add_column :calendars, :lock_version, :integer
  end

  def self.down
    remove_column :calendars, :created_by
    remove_column :calendars, :updated_by
    remove_column :calendars, :created_at
    remove_column :calendars, :updated_at
    remove_column :calendars, :lock_version
  end                                      
end                                        

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.3.6 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.3.5 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.3.4 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.3.3 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.3.2 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.3.1 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.3.0 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.1.2 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.1.1 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.1.0 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.0.2 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.0.1 db/migrate/20090819130919_ownership.rb
radiant-event_calendar-extension-1.0.0 db/migrate/20090819130919_ownership.rb