mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 20:14:08 +00:00
* Initial split transaction support * Add support to unsplit and edit split * Update show.html.erb * FIX address reviews * Improve UX * Update show.html.erb * Reviews * Update edit.html.erb * Add parent category to dialog * Update en.yml * Add UI indication to totals * FIX ui update * Add category select like rest of app --------- Signed-off-by: Juan José Mata <juanjo.mata@gmail.com> Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
7 lines
217 B
Ruby
7 lines
217 B
Ruby
class AddParentEntryIdToEntries < ActiveRecord::Migration[7.2]
|
|
def change
|
|
add_reference :entries, :parent_entry, type: :uuid, null: true,
|
|
foreign_key: { to_table: :entries, on_delete: :cascade }
|
|
end
|
|
end
|