<?php

use Illuminate\Database\Migrations\Migration,
	Illuminate\Support\Facades\Event;

class OrchestraAuthCreateUsersTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('users', function($table) 
		{
			$table->increments('id');

			$table->string('email', 100);
			$table->string('password', 60);

			Event::fire('orchestra.installer.schema: users', array($table));

			$table->string('fullname', 100)->nullable();
			$table->integer('status')->nullable();

			$table->timestamps();
			$table->softDeletes();

			$table->unique('email');
		});
	}

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

}

<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Event;

class OrchestraAuthCreateUsersTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('users', function($table) 
		{
			$table->increments('id');

			$table->string('email', 100);
			$table->string('password', 60);

			Event::fire('orchestra.install.schema: users', array($table));

			$table->string('fullname', 100)->nullable();
			$table->integer('status')->nullable();

			$table->timestamps();
			$table->softDeletes();

			$table->unique('email');
		});
	}

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

Tweak event fire to be consistent with v1.
Tweak event fire to be consistent with v1.

Signed-off-by: crynobone <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>
