mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:54:03 +00:00
Update tenant tests
This commit is contained in:
parent
b268dd5d50
commit
61cc0d9364
6 changed files with 55 additions and 19 deletions
|
|
@ -17,7 +17,7 @@ class CreateDomainsTable extends Migration
|
|||
{
|
||||
Schema::create('domains', function (Blueprint $table) {
|
||||
$table->string('tenant_id', 36); // 36 characters is the default uuid length // todo foreign key?
|
||||
$table->string('domain', 255)->index(); // don't change this
|
||||
$table->string('domain', 255)->unique(); // don't change this
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue