⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.60
Server IP:
68.65.123.197
Server:
Linux premium49.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
smarbgfw
/
.trash
/
core
/
database
/
migrations
/
View File Name :
2021_03_03_144637_add_category_to_megamenus.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddCategoryToMegamenus extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('megamenus', function (Blueprint $table) { $table->tinyInteger('category')->default(1)->comment('1 - category is active, 0 - category is deactive'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('megamenus', function (Blueprint $table) { $table->dropColumn('category'); }); } }