mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:34:03 +00:00
Multiple domains test
This commit is contained in:
parent
bdaf6cf824
commit
b268dd5d50
2 changed files with 11 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class CreateDomainsTable extends Migration
|
|||
public function up()
|
||||
{
|
||||
Schema::create('domains', function (Blueprint $table) {
|
||||
$table->string('tenant_id', 36)->primary(); // 36 characters is the default uuid length
|
||||
$table->string('tenant_id', 36); // 36 characters is the default uuid length // todo foreign key?
|
||||
$table->string('domain', 255)->index(); // don't change this
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue