1 2 3 4 5
class AddForeignKeyToAccountModerationNotes < ActiveRecord::Migration[5.1] def change add_foreign_key :account_moderation_notes, :accounts end end