| Total Complexity | 2 | 
| Total Lines | 28 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 9 | class CreateUsersTable extends Migration | ||
| 10 | { | ||
| 11 | /** | ||
| 12 | * Run the migrations. | ||
| 13 | * | ||
| 14 | * @return void | ||
| 15 | */ | ||
| 16 | public function up() | ||
| 17 |     { | ||
| 18 |         Schema::create('users', function (Blueprint $table) { | ||
| 19 | $table->id(); | ||
| 20 |             $table->string('name'); | ||
| 21 |             $table->string('email')->unique(); | ||
| 22 |             $table->timestamp('email_verified_at')->nullable(); | ||
| 23 |             $table->string('password'); | ||
| 24 | $table->rememberToken(); | ||
| 25 | $table->timestamps(); | ||
| 26 | }); | ||
| 27 | } | ||
| 28 | |||
| 29 | /** | ||
| 30 | * Reverse the migrations. | ||
| 31 | * | ||
| 32 | * @return void | ||
| 33 | */ | ||
| 34 | public function down() | ||
| 37 | } | ||
| 38 | } | ||
| 39 |