PK

ADDRLIN : /home/questend/.trash/database/migrations/
FLL :
Current File : /home/questend/.trash/database/migrations/2018_06_30_224845_create_user_addresses_table.php

<?php

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

class CreateUserAddressesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('user_addresses', function (Blueprint $table) {
            $table->increments('id')->unsigned();
            $table->integer('user_id')->unsigned()->default(0);           
            $table->string('shipname');
            $table->string('billname');
            $table->string('shipaddress');
            $table->string('billaddress');
            $table->string('shipemailid');
            $table->string('billemailid');
            $table->string('shippincode');
            $table->string('billpincode');
            $table->string('shipcontactno');
            $table->string('billcontactno');
            $table->string('shipstate');
            $table->string('billstate');
            $table->string('shipcity');
            $table->string('billcity');
            $table->tinyInteger('isprimary')->unsigned()->default(1)->comment('1:default;2:primary');
            $table->tinyInteger('isactive')->unsigned()->default(1)->comment('0:inactive;1:active');
            $table->tinyInteger('isdelete')->unsigned()->default(1)->comment('0:isdelete;1:active');
            $table->timestamps();
            $table->softDeletes();
            $table->ipAddress('visitor');
        });
    }

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


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home