浏览代码

Added comment to clients table

Alexander Musikhin 9 月之前
父节点
当前提交
ed0345d676
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      database/migrations/2024_12_19_161249_create_clients_table.php

+ 3 - 2
database/migrations/2024_12_19_161249_create_clients_table.php

@@ -14,8 +14,9 @@ return new class extends Migration {
         Schema::create('clients', function (Blueprint $table) {
             $table->id();
             $table->string('name');
-            $table->string('phone');
-            $table->string('email');
+            $table->string('phone')->nullable();
+            $table->string('email')->nullable();
+            $table->text('comment')->nullable();
             $table->softDeletes();
             $table->timestamps();
         });