Compare commits
2 Commits
4fe830228e
...
187092b38a
Author | SHA1 | Date |
---|---|---|
b1ek | 187092b38a | |
b1ek | a9e0999811 |
|
@ -12,7 +12,7 @@ return new class extends Migration
|
||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
Schema::create('users', function (Blueprint $table) {
|
Schema::create('users', function (Blueprint $table) {
|
||||||
$table->id()->type('uuid');
|
$table->uuid('id')->primary();
|
||||||
$table->string('last_name');
|
$table->string('last_name');
|
||||||
$table->string('name');
|
$table->string('name');
|
||||||
$table->string('middle_name');
|
$table->string('middle_name');
|
||||||
|
@ -23,7 +23,7 @@ return new class extends Migration
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::create('passwords', function (Blueprint $table) {
|
Schema::create('passwords', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->uuid('id')->primary();
|
||||||
$table->string('hash');
|
$table->string('hash');
|
||||||
$table->foreignId('user_id')->index();
|
$table->foreignId('user_id')->index();
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
|
|
Loading…
Reference in New Issue