One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
sukma
/
database
/
migrations
/
View File Name :
2016_08_03_072819_create_villages_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateVillagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create(config('laravolt.indonesia.table_prefix').'villages', function (Blueprint $table) { $table->bigIncrements('id'); $table->char('code', 10)->unique(); $table->char('district_code', 7); $table->string('name', 255); $table->text('meta')->nullable(); $table->timestamps(); $table->foreign('district_code') ->references('code') ->on(config('laravolt.indonesia.table_prefix').'districts') ->onUpdate('cascade')->onDelete('restrict'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop(config('laravolt.indonesia.table_prefix').'villages'); } }