mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Add exchange and currency fields to trade imports (#1822)
* Add exchange and currency fields to trade imports * Add exchange_operating_mic support for trade imports - Added required columns and updated models * refactor: remove exchange and currency columns * fix: consolidate import schema and remove redundant columns * feat: Enhance trade import with exchange_operating_mic support * Revert changes to existing migration * Simplify migration to use change method * Restore previously deleted migration * Remove unused import_col_labels method * Update schema.rb after running migrations * Update trade_import.rb and fix schema.rb with db:migrate:reset * fix: improve trade import security creation --------- Signed-off-by: David Anyatonwu <51977119+onyedikachi-david@users.noreply.github.com>
This commit is contained in:
parent
fd95f8d2bd
commit
32ef6ca154
11 changed files with 204 additions and 28 deletions
|
@ -0,0 +1,6 @@
|
|||
class UpdateImportsForOperatingMicV2 < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_column :import_rows, :exchange_operating_mic, :string
|
||||
add_column :imports, :exchange_operating_mic_col_label, :string
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue