<?php

use Illuminate\Database\Migrations\Migration;

class CreateRefrencesTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('refrences', function($table) {
			$table->increments('id');
			$table->integer('partner_id');
			$table->string('comment');
			$table->integer('status');
			$table->dateTime('nextdatetime');
			$table->integer('sender_user_id');
			$table->integer('reciver_user_id');
			$table->softDeletes();
			$table->timestamps();
			$table->engine = 'InnoDB';
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('refrences');
	}

}
