Project

General

Profile

Download (351 Bytes) Statistics
| Branch: | Tag: | Revision:
class CreateNotificationRecipients < ActiveRecord::Migration[4.2]
def change
create_table :notification_recipients do |t|
t.references :notification, index: true, foreign_key: true
t.references :user, index: true, foreign_key: true
t.boolean :seen, default: false, index: true

t.timestamps null: false
end
end
end
(250-250/386)