rosa-build/db/migrate/20110311154136_add_reposito...

11 lines
243 B
Ruby
Raw Normal View History

2012-01-30 20:39:34 +00:00
# -*- encoding : utf-8 -*-
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