Mr.Combet Webshell
Your IP :
18.219.229.80
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_04_06_110735_create_popups_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePopupsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('popups', function (Blueprint $table) { $table->bigIncrements('id'); $table->unsignedBigInteger('language_id'); $table->string('image', 100)->nullable(); $table->string('background_image', 100)->nullable(); $table->string('background_color', 100)->nullable(); $table->decimal('background_opacity', 8,2)->default(1.00); $table->string('title', 255)->nullable(); $table->text('text')->nullable(); $table->string('button_text', 255)->nullable(); $table->text('button_url')->nullable(); $table->string('button_color', 20)->nullable(); $table->string('end_date', 255)->nullable(); $table->string('end_time', 255)->nullable(); $table->integer('delay')->default(1000)->comment('in milisconds'); $table->integer('serial_number')->default(0); $table->tinyInteger('type')->default(1); $table->foreign('language_id')->references('id')->on('languages')->onDelete('cascade'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('popups'); } }
Save