create carts table (#227)

This commit is contained in:
Fredrik Ringqvist
2021-11-04 13:59:01 +01:00
committed by GitHub
parent 9f8bcee74e
commit 2be36853a9
+9
View File
@@ -0,0 +1,9 @@
-- Create carts table
CREATE TABLE carts (
uuid UUID PRIMARY KEY,
inserted TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
order_id INTEGER REFERENCES orders(id),
klarna_order_id TEXT,
content JSONB NOT NULL
);