1
0
Fork 0
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:
Samuel Štancl 2019-09-20 19:24:02 +02:00
parent b268dd5d50
commit 61cc0d9364
6 changed files with 55 additions and 19 deletions

View file

@ -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
});
}