ActiveRecord::Migration<%= migration_version %> def change create_table :notification_hub_devices do |t| t.references :<%= association_model %>, null: false