mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:34:03 +00:00
Create MySQL/PostgreSQL DBs while using sqlite as the central DB driver
This commit is contained in:
parent
1e6b21cfd4
commit
eb6cba8f1a
11 changed files with 62 additions and 22 deletions
|
|
@ -17,7 +17,7 @@ class CreateTenantsTable extends Migration
|
|||
{
|
||||
Schema::create('tenants', function (Blueprint $table) {
|
||||
$table->string('id', 36)->primary(); // 36 characters is the default uuid length
|
||||
// your custom, indexed columns go here
|
||||
// (optional) your custom, indexed columns can go here
|
||||
|
||||
$table->json('data');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue