소스 검색

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();
         });