Project

General

Profile

Download (250 Bytes) Statistics
| Branch: | Tag: | Revision:
class MoveSubjectToNotifications < ActiveRecord::Migration[4.2]
def change
add_reference :notifications, :subject, polymorphic: true, index: true
remove_reference :notification_blueprints, :subject, polymorphic: true, index: true
end
end
(362-362/407)