Archive old migrations (#426)

* Archive old migrations

* Fix invalid placement of migrations
This commit is contained in:
Rikard Bartholf
2024-10-17 11:19:12 +02:00
committed by GitHub
parent 763262c108
commit ddcbd0afb0
500 changed files with 0 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
drop table if exists ingrid_deliveries;
CREATE TABLE ingrid_deliveries (
id INTEGER GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
order_id INTEGER REFERENCES orders (id) NOT NULL,
ingrid_checkout_session_id TEXT NOT NULL,
complete_session_response TEXT,
completed_at TIMESTAMP WITH TIME ZONE DEFAULT NULL,
UNIQUE (order_id),
UNIQUE (ingrid_checkout_session_id)
);