Преглед изворни кода

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