1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 19:04:03 +00:00

Merge branch 'db-storage-driver' of github.com:stancl/tenancy into db-storage-driver

This commit is contained in:
Samuel Štancl 2019-08-16 00:35:29 +02:00
commit 9cdf3dcab6
2 changed files with 2 additions and 3 deletions

View file

@ -16,9 +16,9 @@ class CreateTenantsTable extends Migration
Schema::create('tenants', function (Blueprint $table) { Schema::create('tenants', function (Blueprint $table) {
$table->string('uuid', 36)->primary(); // don't change this $table->string('uuid', 36)->primary(); // don't change this
$table->string('domain', 255)->index(); // don't change this $table->string('domain', 255)->index(); // don't change this
// your indexed columns go here // your indexed columns go here
$table->json('data')->default('{}'); $table->json('data')->default('{}');
}); });
} }

View file

@ -3,7 +3,6 @@
namespace Stancl\Tenancy\Tests; namespace Stancl\Tenancy\Tests;
use Illuminate\Support\Facades\Redis; use Illuminate\Support\Facades\Redis;
use Illuminate\Support\Facades\Artisan;
use Stancl\Tenancy\StorageDrivers\RedisStorageDriver; use Stancl\Tenancy\StorageDrivers\RedisStorageDriver;
use Stancl\Tenancy\StorageDrivers\DatabaseStorageDriver; use Stancl\Tenancy\StorageDrivers\DatabaseStorageDriver;