29 files changed
+94
-881
No files matched your search
@@ -27,12 +27,6 @@ class DatabaseSeeder extends Seeder
|
||||
{
|
||||
public function run(): void
|
||||
{
|
||||
// Demo data is opt-in. Application installation and migrations must
|
||||
// never create a business or an owner implicitly.
|
||||
if (! app()->environment('local') || ! env('NEXTCHAIR_SEED_DEMO', false)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$business = Business::updateOrCreate(
|
||||
['slug' => 'demo-barbershop'],
|
||||
['name' => 'Blake Heritage Barbershop', 'shortName' => 'Blake Heritage', 'description' => 'Classic cuts, modern service, and a simple way to book your next visit.', 'phone' => '+44 20 7946 0000', 'email' => 'hello@blakeheritage.test', 'timezone' => 'Europe/London', 'currency' => 'GBP', 'locale' => 'en-GB'],
|
||||
|
||||
Reference in new issue
Block a user