socialforge/db/migrate/100_add_changesets_user_id.rb

10 lines
203 B
Ruby

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