summaryrefslogtreecommitdiffstats
path: root/db/migrate/100_add_changesets_user_id.rb
blob: 9b25fd7bc867d211142bf87230b815c614c20b4e (plain)
1
2
3
4
5
6
7
8
9
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