Remove unused table matches
This commit is contained in:
parent
38318688b9
commit
26fb7b3178
@ -52,8 +52,3 @@ CREATE TABLE orders(
|
|||||||
);
|
);
|
||||||
ALTER TABLE orders ADD CONSTRAINT order_price CHECK(price > 0 AND price < 100);
|
ALTER TABLE orders ADD CONSTRAINT order_price CHECK(price > 0 AND price < 100);
|
||||||
ALTER TABLE orders ADD CONSTRAINT order_quantity CHECK(quantity > 0);
|
ALTER TABLE orders ADD CONSTRAINT order_quantity CHECK(quantity > 0);
|
||||||
CREATE TABLE matches(
|
|
||||||
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
||||||
oid1 UUID NOT NULL REFERENCES orders(id),
|
|
||||||
oid2 UUID NOT NULL REFERENCES orders(id)
|
|
||||||
);
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user