aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20231218190546_add_organisation_to_events.rb
blob: 48b460b5ffcdd567f7a0c19165087c7a61836f6a (plain) (blame)
1
2
3
4
5
class AddOrganisationToEvents < ActiveRecord::Migration[7.1]
  def change
    add_reference :events, :organisation, null: false, foreign_key: true
  end
end