rosa-build/db/migrate/20110311154044_remove_platf...

11 lines
242 B
Ruby
Raw Normal View History

2012-01-30 20:39:34 +00:00
# -*- encoding : utf-8 -*-
class RemovePlatformIdFromProjects < ActiveRecord::Migration
def self.up
remove_column :projects, :platform_id
end
def self.down
add_column :projects, :platform_id, :integer, :null => false
end
end