From 0487708e3c2be8673707d20c6f5179b45b901863 Mon Sep 17 00:00:00 2001 From: lucianfilote-photowall Date: Tue, 14 Apr 2026 13:23:50 +0200 Subject: [PATCH] 9026 Add legal_entity column to orders table + Add legal_entity column to markets table (#550) --- migrations/000.622.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 migrations/000.622.sql diff --git a/migrations/000.622.sql b/migrations/000.622.sql new file mode 100644 index 0000000..39b13cd --- /dev/null +++ b/migrations/000.622.sql @@ -0,0 +1,8 @@ +DROP TYPE IF EXISTS legal_entity; +CREATE TYPE legal_entity AS ENUM ( + 'nordic_e_trade_ab', + 'photowall_inc' + ); + +ALTER TABLE orders ADD COLUMN legal_entity legal_entity NOT NULL DEFAULT 'nordic_e_trade_ab'; +ALTER TABLE markets ADD COLUMN legal_entity legal_entity NOT NULL DEFAULT 'nordic_e_trade_ab'; \ No newline at end of file