2025-01-13 21:37:02 +01:00
|
|
|
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
|
2024-10-27 21:42:45 +00:00
|
|
|
|
2024-08-11 17:26:43 +02:00
|
|
|
class AddParentToGroup < ActiveRecord::Migration[7.1]
|
|
|
|
def change
|
|
|
|
add_reference :groups, :parent, type: :uuid, index: true, foreign_key: { to_table: :groups }
|
|
|
|
end
|
|
|
|
end
|