mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Enhanced Import Amount Type Selection (#506)
* Enhanced Import Amount Type Selection updated version of https://github.com/we-promise/sure/pull/179 * copilot sugestions * ai sugestions * Update import.rb * Update schema.rb * Update schema.rb * Update schema.rb --------- Signed-off-by: Juan José Mata <juanjo.mata@gmail.com> Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class AddAmountTypeIdentifierValueToImports < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
unless column_exists?(:imports, :amount_type_identifier_value)
|
||||
add_column :imports, :amount_type_identifier_value, :string
|
||||
end
|
||||
end
|
||||
end
|
||||
1
db/schema.rb
generated
1
db/schema.rb
generated
@@ -659,6 +659,7 @@ ActiveRecord::Schema[7.2].define(version: 2026_01_23_000000) do
|
||||
t.string "amount_type_inflow_value"
|
||||
t.integer "rows_to_skip", default: 0, null: false
|
||||
t.integer "rows_count", default: 0, null: false
|
||||
t.string "amount_type_identifier_value"
|
||||
t.index ["family_id"], name: "index_imports_on_family_id"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user