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

Minor fixes for using the package in an app

This commit is contained in:
Samuel Štancl 2020-05-16 11:56:32 +02:00
parent 1833622170
commit 7a7200fd25
4 changed files with 16 additions and 14 deletions

View file

@ -176,13 +176,20 @@ return [
// Stancl\Tenancy\Features\CrossDomainRedirect::class, // https://tenancy.samuelstancl.me/docs/v2/features/tenant-redirect/
],
/**
* Parameters used by the tenants:migrate command.
*/
'migration_parameters' => [
'--force' => true, // Set this to true to be able to run migrations in production
'--force' => true, // This needs to be true to run migrations in production.
'--path' => [database_path('migrations/tenant')],
'--realpath' => true,
],
/**
* Parameters used by the tenants:seed command.
*/
'seeder_parameters' => [
'--class' => 'DatabaseSeeder', // root seeder class, e.g.: 'DatabaseSeeder'
'--class' => 'DatabaseSeeder', // root seeder class
// '--force' => true,
],
];