Closed Sovamorco closed 3 months ago
Imported from trello Original author: flonc
Created trigger new_stock_info
which triggers the function create_stock_price_and_history
. Had to change stock_price_history_daily
to delete if the record in stock_info
got deleted - unsure if it was intentionally not like this.
create a postgres trigger to create a new stock for the market. Needs to create a new entry in the stock info table and a starting entry in the stock price table. Currently, starting price is 10.
Imported from trello Members: flonc Attachments: