Compare commits

..

No commits in common. "187092b38af5b1a15ab40b9e71132f83057faab4" and "4fe830228e62188b6148a351fc0f09ff0ea719af" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ return new class extends Migration
public function up(): void
{
Schema::create('users', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->id()->type('uuid');
$table->string('last_name');
$table->string('name');
$table->string('middle_name');
@ -23,7 +23,7 @@ return new class extends Migration
});
Schema::create('passwords', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->id();
$table->string('hash');
$table->foreignId('user_id')->index();
$table->timestamps();