mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-22 22:59:39 +02:00
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
|