File: //var/www/html/punjabcabs/database/migrations/2017_02_14_135859_create_provider_profiles_table.php
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProviderProfilesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('provider_profiles', function (Blueprint $table) {
$table->increments('id');
$table->integer('provider_id');
$table->string('language')->nullable();
$table->string('address')->nullable();
$table->string('address_secondary')->nullable();
$table->string('city')->nullable();
$table->string('country')->nullable();
$table->string('postal_code')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('provider_profiles');
}
}