Remove unused table matches

This commit is contained in:
ekzyis 2023-12-02 21:11:25 +01:00
parent 38318688b9
commit 26fb7b3178

View File

@ -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_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)
);