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

Set public key on model

This commit is contained in:
Samuel Štancl 2019-08-09 23:17:10 +02:00
parent 9fcfcf3ae0
commit de025a6a4d
5 changed files with 10 additions and 8 deletions

View file

@ -34,6 +34,10 @@ class TenancyServiceProvider extends ServiceProvider
__DIR__ . '/assets/config.php' => config_path('tenancy.php'),
], 'config');
$this->publishes([
__DIR__ . '/assets/2019_08_08_000000_create_tenants_table.php' => database_path('migrations'),
], 'migrations');
$this->loadRoutesFrom(__DIR__ . '/routes.php');
Route::middlewareGroup('tenancy', [