2012-02-29 01:30:22 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2012-01-23 19:42:54 +00:00
|
|
|
class ChangeSubscribeableToString < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
|
|
change_column :subscribes, :subscribeable_id, :string
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
change_column :subscribes, :subscribeable_id, :integer
|
|
|
|
end
|
|
|
|
end
|