Sha256: 6422eafff7ec257dcb661848e11d312fa085ac302b3fe18c41ce1062e9e500d8
Contents?: true
Size: 457 Bytes
Versions: 3
Compression:
Stored size: 457 Bytes
Contents
class ChangeForeignIdsToString < ActiveRecord::Migration def up change_column :timeful_feed_items, :subscriber_id, :string change_column :timeful_activities, :actor_id, :string change_column :timeful_activities, :object_id, :string end def down change_column :timeful_feed_items, :subscriber_id, :integer change_column :timeful_activities, :actor_id, :integer change_column :timeful_activities, :object_id, :integer end end
Version data entries
3 entries across 3 versions & 1 rubygems