1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-15 02:24:04 +00:00

asset() tenancy

This commit is contained in:
Samuel Štancl 2019-09-21 16:06:08 +02:00
parent cf71fa5979
commit 6134c8113b
5 changed files with 27 additions and 7 deletions

View file

@ -74,12 +74,12 @@ Route::get('/', function () {
$this->line('');
$this->line("This package lets you store data about tenants either in Redis or in a relational database like MySQL. If you're going to use the database storage, you need to create a tenants table.");
if ($this->confirm('Do you want to publish the default database migration?', true)) {
if ($this->confirm('Do you want to publish the default database migrations?', true)) {
$this->callSilent('vendor:publish', [
'--provider' => 'Stancl\Tenancy\TenancyServiceProvider',
'--tag' => 'migrations',
]);
$this->info('✔️ Created migration.');
$this->info('✔️ Created migrations.');
}
if (! is_dir(database_path('migrations/tenant'))) {