2011-03-11 16:08:41 +00:00
|
|
|
class AddRepositoryIdToProjects < ActiveRecord::Migration
|
|
|
|
def self.up
|
2014-01-21 04:51:49 +00:00
|
|
|
add_column :projects, :repository_id, :integer, null: false
|
2011-03-11 16:08:41 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_column :projects, :repository_id
|
|
|
|
end
|
|
|
|
end
|