wedding-planner/db/migrate/20240811154115_add_group_to_guest.rb

8 lines
215 B
Ruby
Raw Normal View History

# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
2024-10-27 21:42:45 +00:00
class AddGroupToGuest < ActiveRecord::Migration[7.1]
def change
add_reference :guests, :group, null: false, foreign_key: true, type: :uuid
end
end