From 4a73d5f8c48feb2bf0255cee1c7fed9d02f58701 Mon Sep 17 00:00:00 2001 From: "oura.a" Date: Wed, 27 Dec 2023 02:44:19 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20665:=20=E3=83=9E=E3=82=A4?= =?UTF-8?q?=E3=82=B0=E3=83=AC=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task3416: マイグレーションファイル修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3416) - 元PBI or タスクへのリンク(内容・目的などはそちらにあるはず) - 何をどう変更したか、追加したライブラリなど - このPull Requestでの対象/対象外 - 影響範囲(他の機能にも影響があるか) ## レビューポイント - 特にレビューしてほしい箇所 - 軽微なものや自明なものは記載不要 - 修正範囲が大きい場合などに記載 - 全体的にや仕様を満たしているか等は本当に必要な時のみ記載 ## UIの変更 - Before/Afterのスクショなど - スクショ置き場 ## 動作確認状況 - ローカルで確認、develop環境で確認など ## 補足 - 相談、参考資料などがあれば --- dictation_server/db/migrations/050-add-index-licenses_order.sql | 2 -- 1 file changed, 2 deletions(-) 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