One Hat Cyber Team
Your IP :
216.73.216.187
Server IP :
178.63.234.5
Server :
Linux whm01.ins-jo.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software :
Apache
PHP Version :
8.1.32
Buat File
|
Buat Folder
Dir :
~
/
home
/
business
/
public_html
/
database
/
migrations
/
View File Name :
2023_03_07_092542_create_user_room_bookings.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('user_room_bookings', function (Blueprint $table) { $table->id(); $table->bigInteger('booking_number'); $table->unsignedBigInteger('user_id'); $table->unsignedBigInteger('customer_id')->nullable(); $table->string('customer_name'); $table->string('customer_email'); $table->string('customer_phone'); $table->unsignedBigInteger('room_id'); $table->date('arrival_date'); $table->date('departure_date'); $table->integer('guests'); $table->double('subtotal', 8, 2)->nullable(); $table->double('discount', 8, 2); $table->double('grand_total', 8, 2); $table->string('currency_symbol'); $table->string('currency_symbol_position'); $table->string('currency_text'); $table->string('currency_text_position'); $table->string('payment_method'); $table->string('gateway_type'); $table->string('attachment')->nullable(); $table->string('invoice')->nullable(); $table->tinyInteger('payment_status')->default(0)->comment('0 -> payment incomplete, 1 -> payment complete'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('user_room_bookings'); } };