Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 0a7c07d1 authored by 64160295's avatar 64160295
Browse files

receipt insert 2 receipt (รออนุมัติ)

parent a6570e5e
No related branches found
No related tags found
1 merge request!12proof tranfer update
......@@ -3,6 +3,8 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\DB;
return new class extends Migration
{
......@@ -23,8 +25,27 @@ public function up()
$table->integer('rec_status')->nullable();
$table->integer('mem_id')->nullable();
});
DB::table('Receipt')->insert([
[
'rec_name' =>'user user',
'rec_amount'=>'500',
'rec_date'=>'2023-04-09',
'rec_time'=>'15:00:00',
'rec_img'=>'1.png',
'rec_status'=>'2'
],
[
'rec_name' =>'user user',
'rec_amount'=>'500',
'rec_date'=>'2023-04-08',
'rec_time'=>'15:00:00',
'rec_img'=>'2.png',
'rec_status'=>'2'
],
]);
}
/**
* Reverse the migrations.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment