One Hat Cyber Team
Your IP :
3.133.128.168
Server IP :
104.21.96.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
gftag.com
/
database
/
migrations
/
Edit File:
2021_09_21_094739_create_subcategories_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSubcategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('subcategories', function (Blueprint $table) { $table->id(); $table->string('name')->nullable(); $table->string('slug')->nullable(); $table->integer('category_id'); $table->tinyInteger('status')->default(0)->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('subcategories'); } }
Simpan