Files
grecia/db/migrate/20160105170113_merge_activities_and_notifications.rb
2016-01-06 12:33:37 +01:00

11 lines
234 B
Ruby

class MergeActivitiesAndNotifications < ActiveRecord::Migration
def change
change_table :notifications do |t|
t.remove :read
t.remove :activity_id
t.references :notifiable, polymorphic: true
end
end
end