From 078dfbf339d5c0d55e3e2b52798db09d9b5daf43 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Thu, 1 Jul 2021 03:01:26 +0900 Subject: [PATCH] fix: safe delete sql --- database/update.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/update.sql b/database/update.sql index 3e7b0fc1..8c7f32b6 100644 --- a/database/update.sql +++ b/database/update.sql @@ -413,7 +413,7 @@ ALTER TABLE `v2_payment` ADD `uuid` char(32) NOT NULL AFTER `id`; ALTER TABLE `v2_user` - ADD `deleted_at` int(11) NOT NULL AFTER `updated_at`; + ADD `deleted_at` int(11) NULL AFTER `updated_at`; ALTER TABLE `v2_user` ADD UNIQUE `email_deleted_at` (`email`, `deleted_at`),