uuid('id')->primary(); $table->string('name'); $table->string('email'); $table->timestamp('email_verified_at')->nullable(); $table->string('password')->nullable(); $table->rememberToken(); $table->boolean('is_placeholder')->default(false); $table->foreignUuid('current_team_id')->nullable(); $table->string('profile_photo_path', 2048)->nullable(); $table->string('timezone'); $table->enum('week_start', [ 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday', ]); $table->timestamps(); $table->uniqueIndex('email') ->where('is_placeholder = false'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('users'); } };