Mr.Combet Webshell
Your IP :
3.136.37.122
Server IP :
185.136.159.155
Server :
Linux 185-136-159-155.cprapid.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software :
Apache
PHP Version :
8.1.29
Add File :
Submit
Add Directory :
Submit
Dir :
~
/
home
/
jaibalajigroup
/
www
/
core
/
database
/
migrations
/
Edit File Name :
2021_03_18_045056_create_permalinks_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePermalinksTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('permalinks', function (Blueprint $table) { $table->bigIncrements('id'); $table->unsignedBigInteger('language_id'); $table->string('permalink', 50)->nullable(); $table->string('type', 100)->nullable(); $table->tinyInteger('details')->default(0)->comment('1 - for details page, 0 - for non-details page'); $table->foreign('language_id')->references('id')->on('languages')->onDelete('cascade'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('permalinks'); } }
Save