/home/mip/mip/database/migrations/client/2016_06_14_111620_create_principals_table.php
<?php

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

class CreatePrincipalsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('principals', function (Blueprint $table) {
            $table->engine = "MYISAM";
            $table->increments('id');            
            $table->integer('client_id')->unsigned()->index();
            $table->string('name')->index();
            $table->string('address');
            $table->string('contact_details');
            $table->enum('status', ['Active','Inactive'])->index()->default('Active');
            $table->string('email');
            $table->string('password');
            $table->string('real_password')->index();
            $table->rememberToken();
            $table->timestamps();
        });
    }

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