Fix: Enable force seeding for tenants in production
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m18s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m18s
Uncommented the '--force' flag in config/tenancy.php seeder_parameters. Without this, tenant databases are created but not seeded (no admin user) in the production environment, preventing login.
This commit is contained in:
@@ -200,6 +200,6 @@ return [
|
||||
*/
|
||||
'seeder_parameters' => [
|
||||
'--class' => 'DatabaseSeeder', // root seeder class
|
||||
// '--force' => true, // This needs to be true to seed tenant databases in production
|
||||
'--force' => true, // This needs to be true to seed tenant databases in production
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user