socialforge/db/migrate/100_add_changesets_user_id.rb

10 lines
203 B
Ruby
Raw Permalink Normal View History

2013-08-01 10:33:49 +08:00
class AddChangesetsUserId < ActiveRecord::Migration
def self.up
add_column :changesets, :user_id, :integer, :default => nil
end
def self.down
remove_column :changesets, :user_id
end
end