Track order insert date
[app-web-oof.git] / db.sql
diff --git a/db.sql b/db.sql
index eaff6f267247e5ce77fdfbca403424ce3c0e5cf0..b75393541c351806d651a4e6237061881a6b89a1 100644 (file)
--- a/db.sql
+++ b/db.sql
@@ -18,6 +18,7 @@ CREATE TABLE IF NOT EXISTS discounts (
 
 CREATE TABLE IF NOT EXISTS orders (
        id       TEXT PRIMARY KEY,
+       date     BIGINT NOT NULL,
        products JSON NOT NULL,
        total    INT NOT NULL,
        discount VARCHAR(20) REFERENCES discounts UNIQUE,
This page took 0.008827 seconds and 4 git commands to generate.