1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 23:59:40 +02:00
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

5 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