loan order

This commit is contained in:
nurmuhammet committed 2024-09-24 13:28:22 +05:00
1 parent ace16087a7
commit 04d9b9ac7a
7 files changed
+600 -5

No files matched your search

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