2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2011-03-11 16:08:41 +00:00
|
|
|
class AddRepositoryIdToProjects < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
|
|
add_column :projects, :repository_id, :integer, :null => false
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_column :projects, :repository_id
|
|
|
|
end
|
|
|
|
end
|