id(); $table->string('trans')->nullable(); $table->integer('amount')->nullable(); $table->foreignId('customer_id') ->constrained('customers') ->cascadeOnDelete(); $table->timestamps(); $table->softDeletes(); }); } public function down() { Schema::dropIfExists('transactions'); } };