mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
validation and status changes
This commit is contained in:
@ -19,7 +19,7 @@ class CreatePaymentsTable extends Migration
|
||||
$table->string('payment_mode')->nullable();
|
||||
$table->date('payment_date');
|
||||
$table->text('notes')->nullable();
|
||||
$table->decimal('amount', 15, 0);
|
||||
$table->unsignedBigInteger('amount');
|
||||
$table->integer('user_id')->unsigned();
|
||||
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
|
||||
$table->integer('invoice_id')->unsigned()->nullable();
|
||||
|
||||
Reference in New Issue
Block a user