1
0
Fork 0
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:
Josh Pigford 2024-10-24 16:36:50 -05:00 committed by GitHub
parent b611dfdf37
commit aa3342b0dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 187 additions and 1 deletions

View file

@ -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