Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 51dceb61c1
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (16 sloc) 0.628 kb
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
Jump to Line
Something went wrong with that request. Please try again.