Removed unnecessary comments and updated UserSeeder

This commit is contained in:
2022-04-19 14:45:17 +02:00
parent 37783b0077
commit f0fae39614
10 changed files with 17 additions and 120 deletions

View File

@@ -6,30 +6,19 @@ use Illuminate\Support\Facades\Schema;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
public function up(): void
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('email')->unique();
// $table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->rememberToken();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
public function down(): void
{
Schema::dropIfExists('users');
}