Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 277 Bytes
CREATE TYPE oil_product AS ENUM (
'GASOLINE',
'JETFUEL',
'DIESEL',
'ASPHALT',
'HEAVY',
'LUBRICANT',
'OTHER'
);
CREATE TABLE orders (
id SERIAL PRIMARY KEY,
quantity INTEGER NOT NULL,
product_type oil_product NOT NULL,
received_time TIMESTAMP NOT NULL
);
You can’t perform that action at this time.