Management UI
CI / ci (push) Canceled after 0s

This commit is contained in:
Stefan Lazic committed 2026-09-05 09:11:24 +01:00
1 parent cd6abeca6e
commit f11404c574
29 files changed
+876 -89

No files matched your search

+6
View File
@@ -27,6 +27,12 @@ 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'],