summaryrefslogtreecommitdiffstats
path: root/db/migrate/100_add_changesets_user_id.rb
blob: 8b722aec6508fa10e331860c2e0cfedf326baa24 (plain)
1
2
3
4
5
6
7
8
9
class AddChangesetsUserId < ActiveRecord::Migration[4.2]
  def self.up
    add_column :changesets, :user_id, :integer, :default => nil
  end

  def self.down
    remove_column :changesets, :user_id
  end
end