From c88bacd7015f02a6e4f8cff5332b1e0795e4deec Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Mon, 4 Sep 2023 16:50:55 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=80=85=E4=BD=9C=E6=88=90?= =?UTF-8?q?=E8=80=85=E3=81=AE=E5=9E=8B=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Util/MigrationHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Util/MigrationHelper.php b/app/Util/MigrationHelper.php index 5b56a57..eddfa40 100644 --- a/app/Util/MigrationHelper.php +++ b/app/Util/MigrationHelper.php @@ -72,8 +72,8 @@ class MigrationHelper } else { $this->table->uuid('id')->primary()->comment("ID"); } - $this->table->unsignedBigInteger(ColumnName::CREATED_BY)->nullable()->comment("作成者ID"); - $this->table->unsignedBigInteger(ColumnName::UPDATED_BY)->nullable()->comment("更新者ID"); + $this->table->uuid(ColumnName::CREATED_BY)->nullable()->comment("作成者ID"); + $this->table->uuid(ColumnName::UPDATED_BY)->nullable()->comment("更新者ID"); $this->table->timestamp(ColumnName::CREATED_AT)->nullable()->comment("作成日時"); $this->table->timestamp(ColumnName::UPDATED_AT)->nullable()->comment("更新日時"); $this->table->timestamp(ColumnName::DELETED_AT)->nullable()->comment("論理削除日時");