|
@@ -11,21 +11,6 @@ return new class extends Migration
|
|
|
*/
|
|
|
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();
|
|
|
- });
|
|
|
-
|
|
|
- Schema::create('password_reset_tokens', function (Blueprint $table) {
|
|
|
- $table->string('email')->primary();
|
|
|
- $table->string('token');
|
|
|
- $table->timestamp('created_at')->nullable();
|
|
|
- });
|
|
|
|
|
|
Schema::create('sessions', function (Blueprint $table) {
|
|
|
$table->string('id')->primary();
|
|
@@ -42,8 +27,7 @@ return new class extends Migration
|
|
|
*/
|
|
|
public function down(): void
|
|
|
{
|
|
|
- Schema::dropIfExists('users');
|
|
|
- Schema::dropIfExists('password_reset_tokens');
|
|
|
Schema::dropIfExists('sessions');
|
|
|
}
|
|
|
};
|
|
|
+
|