One Hat Cyber Team
Your IP :
216.73.216.84
Server IP :
50.6.229.107
Server :
Linux server.hostburly.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
andjemzt
/
.trash
/
Edit File:
2026_02_17_072655_create_organisations_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('organizations', function (Blueprint $table) { $table->uuid('id')->primary(); $table->string('name')->index(); $table->string('slug')->unique(); // for links like /org/acme $table->string('email_domain')->nullable()->index(); // optional SSO/domain match $table->string('logo_url')->nullable(); $table->enum('status', ['active','inactive'])->default('active')->index(); $table->json('settings')->nullable(); // seat limits, catalog rules, etc. $table->foreignUuid('created_by')->nullable()->constrained('users')->nullOnDelete(); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('organizations'); } };
Simpan