mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-15 12:46:09 +00:00
migrations and models adjusted
This commit is contained in:
@@ -17,8 +17,9 @@ return new class extends Migration
|
||||
$table->foreignId('user_id')->nullable()->constrained()->nullOnDelete();
|
||||
$table->string('name', 50);
|
||||
$table->boolean('is_moderator')->default(false);
|
||||
$table->timestamp('last_seen_at')->nullable();
|
||||
$table->timestamps();
|
||||
$table->unique(['room_id', 'user_id']);
|
||||
$table->unique(['room_id', 'name']);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user