📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 12:05:37
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
database
/
migrations
📍 /home/orkouolp/web/testing.orkobd/laravel/database/migrations
🔄 Refresh
✏️
Editing: 2024_12_09_013706_create_states_table.php
Writable
<?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('states', function (Blueprint $table) { $table->id(); $table->string('name'); $table->foreignId('country_id')->constrained('countries')->onDelete('cascade'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('states'); } };
💾 Save Changes
❌ Cancel