wedding-planner/db/migrate/20240811154115_add_group_to_guest.rb
Manuel Bustillo cca869a0c4
Some checks failed
Run unit tests / unit_tests (pull_request) Failing after 1m8s
Display group name in the list of guests
2024-08-11 18:25:12 +02:00

6 lines
155 B
Ruby

class AddGroupToGuest < ActiveRecord::Migration[7.1]
def change
add_reference :guests, :group, null: false, foreign_key: true, type: :uuid
end
end