mirror of
https://github.com/we-promise/sure.git
synced 2026-04-10 15:54:48 +00:00
* User tickers as primary lookup symbol instead of isin * Add security price provider * Fetch security prices in bulk to improve sync performance * Fetch prices in bulk, better mocking for tests
8 lines
240 B
Ruby
8 lines
240 B
Ruby
class ChangePrimaryIdentifierForSecurity < ActiveRecord::Migration[7.2]
|
|
def change
|
|
rename_column :securities, :symbol, :ticker
|
|
remove_column :securities, :isin, :string
|
|
rename_column :security_prices, :isin, :ticker
|
|
end
|
|
end
|