⚝
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_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'); } }