403Webshell
Server IP : 34.87.99.72  /  Your IP : 216.73.217.31
Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n
System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64
User : bitnami ( 1000)
PHP Version : 7.4.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/bitnami/htdocs/app/database/migrations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/bitnami/htdocs/app/database/migrations/2021_10_19_155634_create_user_box_deliveries_table.php
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateUserBoxDeliveriesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('user_box_deliveries', function (Blueprint $table) {
            $table->id();
            $table->unsignedBigInteger('box_id')->index();
            $table->unsignedBigInteger('user_id')->index();
            $table->unsignedBigInteger('delivery_partner_id')->index();
            $table->string('tracking_num')->nullable();
            $table->string('parcel_info', 120);
            $table->unsignedTinyInteger('parcel_type')->default(0);
            $table->unsignedDecimal('parcel_length',8,2)->nullable();
            $table->unsignedDecimal('parcel_width',8,2)->nullable();
            $table->unsignedDecimal('parcel_height',8,2)->nullable();
            $table->unsignedDecimal('parcel_weight',8,2);
            $table->string('dropper_name');
            $table->string('dropper_num', 20); 
            $table->string('receiver_name');
            $table->string('receiver_email')->nullable();
            $table->string('receiver_num',20);
            $table->string('receiver_house_num');
            $table->string('receiver_address', 120);
            $table->string('receiver_postcode');
            $table->string('receiver_city');
            $table->string('receiver_state');
            $table->string('remarks')->nullable();
            $table->longtext('meta');
            $table->timestamp('expired_at');
            $table->timestamp('dirty_at')->nullable();
            $table->timestamp('collected_at')->nullable();
            $table->unsignedTinyInteger('ended_type')->default(0);
            $table->unsignedBigInteger('recorded_locker_id')->index();
            $table->timestamp('penalized_at')->nullable();
            $table->timestamps();

            $table->foreign('box_id')->references('id')->on('locker_boxes');
            $table->foreign('user_id')->references('id')->on('users');
            $table->foreign('delivery_partner_id')->references('id')->on('couriers');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('user_box_deliveries');
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit