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,34 @@
<?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_documents', function (Blueprint $table) {
$table->unsignedTinyInteger('document_id')->autoIncrement();
$table->string('document_name')->nullable();
$table->text('document_path')->nullable();
$table->text('document_for_ref')->nullable();
$table->unsignedBigInteger('documentable_id');
$table->string('documentable_type');
$table->integer('status')->default(11);
$table->mediumText('description');
$table->mediumText('remarks');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('tbl_documents');
}
};