10 lines
203 B
Ruby
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
|