add file to lan paid off letter

This commit is contained in:
2025-11-02 23:47:06 +05:00
parent 9c799ac105
commit 2df920af47
5 changed files with 40 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
<?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::table('loan_paid_off_letters', function (Blueprint $table) {
$table->string('loan_file')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('loan_paid_off_letters', function (Blueprint $table) {
$table->dropColumn('loan_file');
});
}
};

View File

@@ -26,6 +26,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
* @property string $loan_contract_date
* @property string $loan_amount
* @property string $loan_reason
* @property null|string $loan_file
* @property \Illuminate\Support\Carbon $created_at
* @property \Illuminate\Support\Carbon $updated_at
*/