Modify schema

This commit is contained in:
Kevin Cotugno 2017-09-21 10:25:30 -07:00
parent 0dd306021b
commit 9dc49a1e32

View File

@ -1,7 +1,7 @@
CREATE TABLE trades (
id SERIAL PRIMARY KEY,
trade_id integer NOT NULL,
product CHAR(6) NOT NULL,
product CHAR(7) NOT NULL,
price NUMERIC(1000, 8) NOT NULL,
size NUMERIC(1000, 8) NOT NULL,
buy BOOLEAN NOT NULL DEFAULT FALSE,