aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20231220202718_add_organisation_ref_to_operations.rb
blob: 939c6e5aea50346c5395610fb96bfea68e38ffac (plain) (blame)
1
2
3
4
5
class AddOrganisationRefToOperations < ActiveRecord::Migration[7.1]
  def change
    add_reference :operations, :organisation, null: false, foreign_key: true
  end
end