engine = 'InnoDB'; $table->bigIncrements('id')->unsigned(); $table->string('nom')->nullable(); $table->string('prenom')->nullable(); $table->json('adresse')->default(new Expression('(JSON_OBJECT())')); $table->timestamps(); $table->index("nom"); $table->index("prenom"); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfexists('clients'); } };