mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-30 09:44:15 +00:00
add logic, test
This commit is contained in:
@@ -19,7 +19,6 @@ class CreateUserBankSlipsTable extends Migration
|
||||
$table->string('bankslip_url')->nullable();
|
||||
$table->double('transfer_amount')->nullable();
|
||||
$table->string('cust_marking')->nullable();
|
||||
$table->boolean('is_approve')->nullable();
|
||||
|
||||
$table->integer('book_id')->unsigned();
|
||||
$table->foreign('book_id')->references('id')->on('bookings');
|
||||
|
||||
@@ -14,7 +14,7 @@ class UpdateUploadBookingBankslip extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('user_bank_slips', function (Blueprint $table) {
|
||||
$table->boolean('is_approve')->default('false');
|
||||
$table->boolean('is_approve')->default('0');
|
||||
});
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user