id()->autoIncrement(); $table->string('trans')->nullable(); $table->integer('amount')->nullable(); $table->bigInteger('customer_id')->default(0)->index(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { // Schema::dropIfExists('transactions'); } };