From 7907777bfec2820aa02aa5889ccbf2447c84ddea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olaf=20Lindstr=C3=B6m?= Date: Mon, 18 Nov 2024 14:34:08 +0100 Subject: [PATCH] Avalara responses (#425) Co-authored-by: Fredrik Ringqvist <35255659+fredrikphotowall@users.noreply.github.com> Co-authored-by: Fredrik Ringqvist --- migrations/000.517.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 migrations/000.517.sql diff --git a/migrations/000.517.sql b/migrations/000.517.sql new file mode 100644 index 0000000..30256b0 --- /dev/null +++ b/migrations/000.517.sql @@ -0,0 +1,8 @@ +CREATE TABLE avalara ( + id INTEGER GENERATED ALWAYS AS IDENTITY PRIMARY KEY, + order_id INTEGER NOT NULL UNIQUE REFERENCES orders(id), + success BOOLEAN NOT NULL DEFAULT FALSE, + completed_at TIMESTAMP WITH TIME ZONE, + response TEXT, + extracted JSONB +);