mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
* Add investment portfolio models * Add portfolio to demo data * Setup initial tests * Rough sketch of sync logic * Clean up trade sync logic * Add trade validation * Integrate trades into sync process
12 lines
230 B
Ruby
12 lines
230 B
Ruby
class CreateSecurities < ActiveRecord::Migration[7.2]
|
|
def change
|
|
create_table :securities, id: :uuid do |t|
|
|
t.string :isin, null: false
|
|
t.string :symbol
|
|
t.string :name
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|