Changeset View
Changeset View
Standalone View
Standalone View
src/database/seeds/local/UserSeeder.php
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | public function run() | ||||
'first_name' => 'John', | 'first_name' => 'John', | ||||
'last_name' => 'Doe', | 'last_name' => 'Doe', | ||||
'currency' => 'USD', | 'currency' => 'USD', | ||||
'country' => 'US', | 'country' => 'US', | ||||
'billing_address' => "601 13th Street NW\nSuite 900 South\nWashington, DC 20005", | 'billing_address' => "601 13th Street NW\nSuite 900 South\nWashington, DC 20005", | ||||
'external_email' => 'john.doe.external@gmail.com', | 'external_email' => 'john.doe.external@gmail.com', | ||||
'organization' => 'Kolab Developers', | 'organization' => 'Kolab Developers', | ||||
'phone' => '+1 509-248-1111', | 'phone' => '+1 509-248-1111', | ||||
// 'limit_geo' => json_encode(["CH"]), | |||||
'guam_enabled' => false, | |||||
'2fa_enabled' => true | |||||
machniak: ned@kolab.org below has the 2fa SKU assigned, so maybe it would be better to use ned@. | |||||
] | ] | ||||
); | ); | ||||
$john->setAliases(['john.doe@kolab.org']); | $john->setAliases(['john.doe@kolab.org']); | ||||
$wallet = $john->wallets->first(); | $wallet = $john->wallets->first(); | ||||
$package_domain = \App\Package::where('title', 'domain-hosting')->first(); | $package_domain = \App\Package::where('title', 'domain-hosting')->first(); | ||||
▲ Show 20 Lines • Show All 116 Lines • Show Last 20 Lines |
ned@kolab.org below has the 2fa SKU assigned, so maybe it would be better to use ned@.