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

10 lines
213 B
Ruby
Raw Normal View History

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