id(); $table->string('filename',100)->nullable(); $table->string('file_url',100)->nullable(); $table->bigInteger('customer_id')->default(0)->index(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { // Schema::table('file',function (Blueprint $table){ $table->dropForeign('customer_id'); $table->drop(); }); } };