11 lines
234 B
Ruby
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
|