mirror of
https://github.com/archtechx/tenancy.git
synced 2026-03-21 23:44:03 +00:00
Change tenants.id column type from string to uuid
Updated the tenants migration to use $table->uuid('id')->primary()
instead of $table->string('id')->primary() to properly support UUID-based
tenant identification and ensure consistency with Stancl Tenancy expectations.
This commit is contained in:
parent
37b2a91aa9
commit
c7809a2ad0
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ return new class extends Migration
|
|||
public function up(): void
|
||||
{
|
||||
Schema::create('tenants', function (Blueprint $table) {
|
||||
$table->string('id')->primary();
|
||||
$table->uuid('id')->primary();
|
||||
|
||||
// your custom columns may go here
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue