⚝
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
/
www
/
updater
/
database
/
migrations
/
View File Name :
2020_09_18_131535_create_events_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEventsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('events', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('title'); $table->string('slug')->nullable(); $table->longText('content')->nullable(); $table->date('date'); $table->time('time'); $table->double('cost'); $table->integer('available_tickets'); $table->string('organizer'); $table->string('organizer_email')->nullable(); $table->string('organizer_phone')->nullable(); $table->text('organizer_website')->nullable(); $table->longText('venue'); $table->longText('venue_location')->nullable(); $table->string('venue_phone')->nullable(); $table->longText('meta_tags')->nullable(); $table->longText('meta_description')->nullable(); $table->json('image')->nullable(); $table->longText('video')->nullable(); $table->unsignedBigInteger('lang_id'); $table->unsignedBigInteger('cat_id'); $table->foreign('lang_id')->references('id')->on('languages')->onDelete('cascade'); $table->foreign('cat_id')->references('id')->on('event_categories')->onDelete('cascade'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('events'); } }