first commit

This commit is contained in:
Sampanna Rimal
2024-08-27 17:48:06 +05:45
commit 53c0140f58
10839 changed files with 1125847 additions and 0 deletions

View 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');
}
};