Skip to content

Commit dee2304

Browse files
committed
rename migrations
1 parent e28f4b2 commit dee2304

4 files changed

+7
-93
lines changed

database/migrations/2014_10_12_000000_create_users_table.php renamed to database/migrations/0001_01_01_000000_create_users_table.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ public function up(): void
2020
$table->rememberToken();
2121
$table->timestamps();
2222
});
23+
24+
Schema::create('password_reset_tokens', function (Blueprint $table) {
25+
$table->string('email')->primary();
26+
$table->string('token');
27+
$table->timestamp('created_at')->nullable();
28+
});
2329
}
2430

2531
/**
@@ -28,5 +34,6 @@ public function up(): void
2834
public function down(): void
2935
{
3036
Schema::dropIfExists('users');
37+
Schema::dropIfExists('password_reset_tokens');
3138
}
3239
};

database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php

Lines changed: 0 additions & 28 deletions
This file was deleted.

database/migrations/2019_08_19_000000_create_failed_jobs_table.php

Lines changed: 0 additions & 32 deletions
This file was deleted.

database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)