id(); $table->string('username')->unique()->nullable(false); $table->string('tenant_id')->nullable(false); $table->foreign('tenant_id')->references('id')->on('tenants')->onUpdate('cascade')->onDelete('cascade'); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('global_users'); } };