Readme changes again
This commit is contained in:
parent
5513fd445e
commit
d9dc63ae25
1 changed files with 2 additions and 0 deletions
|
@ -73,9 +73,11 @@ Either we have pallets in the freezer, or we make more pallets. If we do not hav
|
|||
CREATE TABLE pallets (
|
||||
pallet_id INT PRIMARY KEY,
|
||||
cookie_id INT NOT NULL,
|
||||
order_id INT NOT NULL,
|
||||
status VARCHAR(50) NOT NULL CHECK (status IN ('freezer', 'delivered', 'blocked')),
|
||||
production_date DATE NOT NULL,
|
||||
FOREIGN KEY (cookie_id) REFERENCES cookie(cookie_id)
|
||||
FOREIGN KEY (order_id) REFERENCES orders(order_id)
|
||||
);
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue