mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 16:24:04 +00:00
[1.7.0] Add tenants:run (#81)
* wip * Apply fixes from StyleCI * first implementation * Apply fixes from StyleCI * Add support for arguments and options * Apply fixes from StyleCI * Write docs, add support for = in arg/opt value * Apply fixes from StyleCI * add $ [ci skip]
This commit is contained in:
parent
85b2274d1d
commit
15f09e59df
7 changed files with 169 additions and 4 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace Stancl\Tenancy;
|
||||
|
||||
use Stancl\Tenancy\Commands\Run;
|
||||
use Stancl\Tenancy\Commands\Seed;
|
||||
use Illuminate\Cache\CacheManager;
|
||||
use Stancl\Tenancy\Commands\Migrate;
|
||||
|
|
@ -23,9 +24,10 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
{
|
||||
if ($this->app->runningInConsole()) {
|
||||
$this->commands([
|
||||
Run::class,
|
||||
Seed::class,
|
||||
Migrate::class,
|
||||
Rollback::class,
|
||||
Seed::class,
|
||||
TenantList::class,
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue