1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 13:19:39 +02:00
Maybe/db/migrate/20250411140604_add_parent_syncs.rb

6 lines
157 B
Ruby
Raw Permalink Normal View History

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