call([RolesAndPermissionsSeeder::class]); // Materialize the settings singleton up front. Setting::instance() // falls back to firstOrCreate() on read, and read paths run on every // page (Territorio scopes and accessors) — so on a fresh database two // concurrent first requests can each insert a row, leaving two // "singletons" with edits landing in whichever one wins. Setting::instance(); if (App::environment('local') && env('SEED_DEV_DATA', false)) { $this->call([DevSeeder::class]); } } }