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

Update 2019_09_15_000010_create_tenants_table.php

just added a comment to clarify how to use these custom columns on the tenant model
This commit is contained in:
Abraham Brookes 2021-03-22 11:30:05 +10:00 committed by GitHub
parent 27e9fb4a69
commit e596eaaaa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ class CreateTenantsTable extends Migration
Schema::create('tenants', function (Blueprint $table) {
$table->string('id')->primary();
// your custom columns may go here
// your custom columns may go here - remember to add these to your tenant model by using getCustomColumns
$table->timestamps();
$table->json('data')->nullable();