You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db-schema/db_scripts/diff/13127.up

9 lines
289 B

USE billing;
ALTER TABLE billing_fees ADD COLUMN direction enum('in', 'out')
NOT NULL DEFAULT 'out'
AFTER destination;
ALTER TABLE billing_fees DROP KEY profdestype_idx;
ALTER TABLE billing_fees ADD UNIQUE KEY profdesdirtype_idx
(billing_profile_id, destination, direction, type);