From 71ba3c3c3d9f2a333e16a14799c0aa4fd54f5212 Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 10 Dec 2021 13:25:27 -0700 Subject: [PATCH] forgot to add this migration --- .../gateway/postgres/migrations/V0003__item_notes.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/entity/gateway/postgres/migrations/V0003__item_notes.sql diff --git a/src/entity/gateway/postgres/migrations/V0003__item_notes.sql b/src/entity/gateway/postgres/migrations/V0003__item_notes.sql new file mode 100644 index 0000000..3a2f250 --- /dev/null +++ b/src/entity/gateway/postgres/migrations/V0003__item_notes.sql @@ -0,0 +1,7 @@ +drop table item_location; + +create table item_note ( + item integer references item (id) not null, + note jsonb not null, + created_at timestamptz default current_timestamp not null +);