Files
Paymenter-Version-Tracks/database/migrations/2024_02_15_122227_create_extensions_table.php
Muhammad Tamir 85c03cef82 v1.3.4
2025-11-14 10:57:49 +07:00

32 lines
706 B
PHP

<?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::create('extensions', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('extension');
$table->string('type');
$table->boolean('enabled')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('extensions');
}
};