aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20231220195530_add_operation_to_events.rb
blob: b95ded0fdfe6c7868330250ddba79cc34c115c78 (plain) (blame)
1
2
3
4
5
class AddOperationToEvents < ActiveRecord::Migration[7.1]
  def change
    add_reference :events, :operation, null: false, foreign_key: true
  end
end