firstcommit

This commit is contained in:
2024-05-16 09:31:08 +05:45
commit 34d9672cb8
1396 changed files with 86482 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');
}
};