3 use Illuminate\Database\Schema\Blueprint;
4 use Illuminate\Database\Migrations\Migration;
6 class CreateUsersTable extends Migration
15 Schema::create('users', function (Blueprint $table) {
16 $table->increments('id');
17 $table->string('name');
18 $table->string('email')->unique();
19 $table->string('password', 60);
20 $table->rememberToken();
21 $table->nullableTimestamps();
24 \BookStack\User::forceCreate([
27 'password' => bcrypt('password')
32 * Reverse the migrations.
36 public function down()
38 Schema::drop('users');