rosa-build/db/migrate/20120123161250_change_subsc...

10 lines
241 B
Ruby
Raw Permalink Normal View History

2012-01-23 19:42:54 +00:00
class ChangeSubscribeableToString < ActiveRecord::Migration
def self.up
2014-08-20 21:49:26 +01:00
change_column :subscribes, :subscribeable_id, :string, references: nil
2012-01-23 19:42:54 +00:00
end
def self.down
change_column :subscribes, :subscribeable_id, :integer
end
end