Files
database/migrations/000.622.sql
T

8 lines
330 B
SQL

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';