id(); $table->string('first_name')->nullable(); $table->string('last_name')->nullable(); $table->string('gender')->nullable(); $table->string('nic')->nullable(); $table->string('passport_no')->nullable(); $table->integer('state_id')->nullable(); $table->string('country')->nullable(); $table->integer('city_id')->nullable(); $table->string('address_1')->nullable(); $table->string('address_2')->nullable(); $table->integer('zipcode_id')->nullable(); $table->string('home_phone')->nullable(); $table->string('work_phone')->nullable(); $table->string('cell_phone')->nullable(); $table->string('payment_card_id')->nullable(); $table->integer('billing_zipcode_id')->nullable(); $table->integer('billing_state_id')->nullable(); $table->integer('billing_city_id')->nullable(); $table->integer('account_id')->nullable(); $table->integer('account_number')->nullable(); $table->string('billing_address')->nullable(); $table->integer('company_id')->nullable(); $table->string('user_name')->nullable(); $table->string('admin_notes')->nullable(); $table->string('profile_image')->nullable(); $table->dateTime('dob')->nullable(); $table->dateTime('created_at')->default(DB::raw('CURRENT_TIMESTAMP')); $table->timestamp('updated_at')->default(DB::raw('CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP')); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users_profile'); } }