Parcourir la source

Added comment to clients table

Alexander Musikhin il y a 9 mois
Parent
commit
ed0345d676

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