Browse Source

更新者作成者の型を修正

develop
sosuke.iwabuchi 2 years ago
parent
commit
c88bacd701
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/Util/MigrationHelper.php

+ 2
- 2
app/Util/MigrationHelper.php View File

@@ -72,8 +72,8 @@ class MigrationHelper
} else { } else {
$this->table->uuid('id')->primary()->comment("ID"); $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::CREATED_AT)->nullable()->comment("作成日時");
$this->table->timestamp(ColumnName::UPDATED_AT)->nullable()->comment("更新日時"); $this->table->timestamp(ColumnName::UPDATED_AT)->nullable()->comment("更新日時");
$this->table->timestamp(ColumnName::DELETED_AT)->nullable()->comment("論理削除日時"); $this->table->timestamp(ColumnName::DELETED_AT)->nullable()->comment("論理削除日時");


Loading…
Cancel
Save