rosa-build/db/migrate/20120111080234_change_comme...

11 lines
235 B
Ruby

# -*- encoding : utf-8 -*-
class ChangeCommentableId < ActiveRecord::Migration
def self.up
change_column :comments, :commentable_id, :string
end
def self.down
change_column :comments, :commentable_id, :integer
end
end