CasperSecurity
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('store_documents', function (Blueprint $table) {
$table->id();
$table->string('document_type_id');
$table->string('doc_classification_id');
$table->string('received_sent');
$table->string('from_to');
$table->string('doc_reference')->nullable();
$table->string('doc_subject');
$table->string('doc_title');
$table->text('doc_desc');
$table->text('doc_copy_path')->nullable();
$table->date('reminder_date')->nullable();
$table->string('letter_no')->nullable();
$table->date('doc_date');
$table->tinyInteger('doc_status')->default('1');
$table->tinyInteger('status')->default('1');
$table->timestamps();
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('store_documents');
}
};