mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Stock imports (#1363)
* Initial pass * Marketstack data provider * Marketstack data provider * Refactor a bit
This commit is contained in:
parent
b611dfdf37
commit
aa3342b0dc
10 changed files with 187 additions and 1 deletions
|
@ -0,0 +1,7 @@
|
|||
class AddStockExchangeReference < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_column :securities, :country_code, :string
|
||||
add_reference :securities, :stock_exchange, type: :uuid, foreign_key: true
|
||||
add_index :securities, :country_code
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue