id()->autoIncrement(); $table->string('company',255)->nullable(); $table->string('tax',100)->nullable(); $table->string('address',100)->nullable(); $table->string('email',100)->nullable(); $table->bigInteger('customer_id')->default(0)->index(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('billing',function (Blueprint $table){ $table->dropForeign('customer_id'); $table->drop(); }); } };