Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby
202 B
Raw Blame
class AddLotSourceEntryToTrades < ActiveRecord::Migration[8.1]
  def change
    add_reference :trades, :lot_source_entry, type: :uuid, foreign_key: { to_table: :entries, on_delete: :nullify }
  end
end