rosa-build/db/migrate/20111014150436_remove_repos...

11 lines
247 B
Ruby

# -*- encoding : utf-8 -*-
class RemoveRepositoryIdFromProject < ActiveRecord::Migration
def self.up
remove_column :projects, :repository_id
end
def self.down
add_column :projects, :repository_id, :integer, :null => false
end
end