id(); $table->string('type'); $table->unsignedBigInteger('amount'); $table->foreignId('outlet_id')->constrained(); $table->foreignId('transaction_id')->constrained(); $table->foreignId('expense_id')->constrained(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('mutations'); } };