calculations

Former-commit-id: 0281ecdc282da7e83a0bff152f50bc86148cf446
This commit is contained in:
Ben
2022-04-28 23:28:39 +01:00
parent 1822f74b87
commit d08904a184
13 changed files with 259 additions and 21 deletions

View File

@@ -92,7 +92,7 @@ CREATE TABLE IF NOT EXISTS users (
CREATE TABLE IF NOT EXISTS order_log (
id VARCHAR (50) NOT NULL PRIMARY KEY,
user_id VARCHAR (50) NOT NULL, -- 0 if guest
user_id VARCHAR (50), -- null if guest
offer_code SERIAL,
subtotal_paid DECIMAL NOT NULL,
discount DECIMAL,