mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-15 00:04:04 +00:00
asset() tenancy
This commit is contained in:
parent
cf71fa5979
commit
6134c8113b
5 changed files with 27 additions and 7 deletions
|
|
@ -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'))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue