first commit
This commit is contained in:
0
Modules/Payroll/database/migrations/.gitkeep
Normal file
0
Modules/Payroll/database/migrations/.gitkeep
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('tbl_payments', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('employee_id')->nullable();
|
||||
$table->text('account_no')->nullable();
|
||||
$table->date('payment_date')->nullable();
|
||||
$table->decimal('payment_amount')->nullable();
|
||||
$table->string('payment_mode')->nullable();
|
||||
$table->integer('status')->default(11);
|
||||
$table->mediumText('description');
|
||||
$table->mediumText('remarks');
|
||||
$table->unsignedBigInteger('createdBy');
|
||||
$table->unsignedBigInteger('updatedBy');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('tbl_payments');
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user