for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace app\custom\Database\migrations;
use app\framework\Component\Database\Migrations\Migration;
use app\framework\Component\Database\Schema\Blueprint;
use app\framework\Component\Database\Schema\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
Schema::create("users", function(Blueprint $table) {
$table->increments();
$table->text("username");
$table->string("email")->unique();
$table->string("password");
$table->string('remember_token', 100);
$table->string('reset_password_token', 100);
$table->timestamps();
}, "mysql");
}
* Reverse the migrations.
public function down()
Schema::drop("users", "mysql");