Files
maybe/db/migrate/20250411140604_add_parent_syncs.rb
Zach Gollwitzer 8648f11413 Sync hierarchy updates (#2087)
* Add parent sync orchestration

* Pass sync object to dependents
2025-04-11 12:13:46 -04:00

6 lines
157 B
Ruby

class AddParentSyncs < ActiveRecord::Migration[7.2]
def change
add_reference :syncs, :parent, foreign_key: { to_table: :syncs }, type: :uuid
end
end