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:
commit
9cdf3dcab6
2 changed files with 2 additions and 3 deletions
|
|
@ -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('{}');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue