code.vegaprotocol.io/vega@v0.79.0/datanode/sqlstore/migrations/0099_add_stop_order_rejection_reason.sql (about)

     1  -- +goose Up
     2  
     3  ALTER TYPE stop_order_rejection_reason ADD VALUE IF NOT EXISTS 'REJECTION_REASON_STOP_ORDER_LINKED_PERCENTAGE_INVALID' AFTER 'REJECTION_REASON_STOP_ORDER_NOT_CLOSING_THE_POSITION';
     4  
     5  -- +goose Down
     6  
     7  -- Do nothing, if it already exists it won't matter and won't be recreated by the up migration.