id()->autoIncrement(); $table->bigInteger('customer_id')->default(0)->index(); $table->string('action',255)->nullable(); $table->string('client_ip',255)->nullable(); $table->string('agent')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('customer_logs'); } };