1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 08:14:02 +00:00
This commit is contained in:
Samuel Štancl 2019-08-17 17:31:03 +02:00
parent a8f5002d91
commit 359125ea98

View file

@ -25,4 +25,6 @@ tenant()->create('tenant2.yourapp.com', [
]);
```
The `create` method returns an array with tenant information (`uuid`, `domain` and whatever else you supplied).
> Note: Creating a tenant doesn't run [migrations](https://stancl-tenancy.netlify.com/docs/console-commands/#migrate) automatically. You have to do that yourself.