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

10 lines
212 B
Ruby
Raw Permalink Normal View History

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