1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 12:34:03 +00:00

ability to publish migrations

This commit is contained in:
Abrar Ahmad 2022-11-10 14:37:11 +05:00
parent b08961150c
commit cd24aa779d
2 changed files with 29 additions and 0 deletions

View file

@ -109,6 +109,10 @@ class TenancyServiceProvider extends ServiceProvider
__DIR__ . '/../assets/impersonation-migrations/' => database_path('migrations'),
], 'impersonation-migrations');
$this->publishes([
__DIR__ . '/../assets/resource-syncing-migrations/' => database_path('migrations'),
], 'resource-syncing-migrations');
$this->publishes([
__DIR__ . '/../assets/tenant_routes.stub.php' => base_path('routes/tenant.php'),
], 'routes');