add file to lan paid off letter
This commit is contained in:
@@ -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');
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user