⚝
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 :
2020_10_16_053710_create_event_details_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEventDetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('event_details', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('name')->nullable()->default('anonymous'); $table->string('email')->nullable()->default('anonymous'); $table->string('phone')->nullable()->default('xxxxxxxxxxxx'); $table->double('amount')->default(0.00); $table->integer('quantity')->default(0); $table->string('currency'); $table->string('currency_symbol'); $table->string('payment_method'); $table->string('transaction_id'); $table->string('status')->nullable(); $table->longText('receipt')->nullable(); $table->longText('transaction_details')->nullable(); $table->longText('bex_details')->nullable(); $table->unsignedBigInteger('event_id'); $table->foreign('event_id')->references('id')->on('events')->onDelete('cascade'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('event_details'); } }