diff --git a/dictation_server/db/migrations/050-add-index-licenses_order.sql b/dictation_server/db/migrations/050-add-index-licenses_order.sql index 006bde4..1728388 100644 --- a/dictation_server/db/migrations/050-add-index-licenses_order.sql +++ b/dictation_server/db/migrations/050-add-index-licenses_order.sql @@ -1,7 +1,5 @@ -- +migrate Up ALTER TABLE `license_orders` ADD INDEX `idx_from_account_id_and_po_number` (from_account_id,po_number); -ALTER TABLE `license_orders` DROP INDEX `license_orders_fk_from_account_id`; -- +migrate Down ALTER TABLE `license_orders` DROP INDEX `idx_from_account_id_and_po_number`; -ALTER TABLE `license_orders` ADD INDEX `license_orders_fk_from_account_id` (from_account_id); \ No newline at end of file