File: /var/www/api.vaspayment.com/database/migrations/2024_04_05_015815_create_billers_table.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('billers', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('type');
$table->enum('status', [0, 1])->default(0)->comment('0 is Active, 1 is Inactive');
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('billers');
}
};