From 0edad18545dacf219bf758cdf5f0ce052b695e45 Mon Sep 17 00:00:00 2001 From: "saito.k" Date: Fri, 12 Jan 2024 07:03:59 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20674:=20DB=E3=81=8B=E3=82=89Licens?= =?UTF-8?q?eAlert=E3=82=AB=E3=83=A9=E3=83=A0=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task3429: DBから該当カラム削除](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3429) - UsersテーブルからLicenseAlertを削除 ## レビューポイント - 追加したマイグレーションファイルの内容に認識違いはないか ## UIの変更 - Before/Afterのスクショなど - スクショ置き場 ## 動作確認状況 - ローカルで確認 ## 補足 - 相談、参考資料などがあれば --- dictation_server/db/migrations/051-delete-license-alert.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dictation_server/db/migrations/051-delete-license-alert.sql diff --git a/dictation_server/db/migrations/051-delete-license-alert.sql b/dictation_server/db/migrations/051-delete-license-alert.sql new file mode 100644 index 0000000..e191a81 --- /dev/null +++ b/dictation_server/db/migrations/051-delete-license-alert.sql @@ -0,0 +1,6 @@ +-- +migrate Up +ALTER TABLE `users` DROP COLUMN `license_alert`; + + +-- +migrate Down +ALTER TABLE `users` ADD COLUMN `license_alert` BOOLEAN DEFAULT TRUE NOT NULL COMMENT 'ライセンスの期限切れ通知をするかどうか'; \ No newline at end of file