mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 14:14:04 +00:00
vague first draft of v3. TenantModelTest is passing
This commit is contained in:
parent
c2c90ff755
commit
bd9aad229b
56 changed files with 803 additions and 1366 deletions
|
|
@ -18,9 +18,10 @@ class CreateTenantsTable extends Migration
|
|||
Schema::create('tenants', function (Blueprint $table) {
|
||||
$table->string('id', 36)->primary(); // 36 characters is the default uuid length
|
||||
|
||||
// (optional) your custom, indexed columns may go here
|
||||
// your custom columns may go here
|
||||
|
||||
$table->json('data');
|
||||
$table->timestamps();
|
||||
$table->json('data')->default('{}');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue