OMDSCloud/dictation_server/db/migrations/052-add-task-index.sql
makabe.t 4c427d2632 Merged PR 692: マイグレーションファイル適用
## 概要
[Task3487: マイグレーションファイル適用](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3487)

- DB定義に齟齬が出てしまうため、DBマイグレーションファイルをCCBからdevelopにも適用します。

## レビューポイント
- 適用内容は適切でしょうか?
2024-01-16 10:15:56 +00:00

5 lines
192 B
SQL

-- +migrate Up
ALTER TABLE `tasks` ADD INDEX `idx_account_id_and_audio_file_id` (account_id,audio_file_id);
-- +migrate Down
ALTER TABLE `tasks` DROP INDEX `idx_account_id_and_audio_file_id`;