Changeset View
Changeset View
Standalone View
Standalone View
src/database/seeds/SkuSeeder.php
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | public function run() | ||||
'name' => 'Shared Folder', | 'name' => 'Shared Folder', | ||||
'description' => 'A shared folder', | 'description' => 'A shared folder', | ||||
'cost' => 89, | 'cost' => 89, | ||||
'period' => 'monthly', | 'period' => 'monthly', | ||||
'handler_class' => 'App\Handlers\SharedFolder', | 'handler_class' => 'App\Handlers\SharedFolder', | ||||
'active' => false, | 'active' => false, | ||||
] | ] | ||||
); | ); | ||||
Sku::create( | |||||
[ | |||||
'title' => '2fa', | |||||
'name' => '2-Factor Authentication', | |||||
'description' => 'Two factor authentication for webmail and administration panel', | |||||
'cost' => 0, | |||||
'units_free' => 0, | |||||
'period' => 'monthly', | |||||
'handler_class' => 'App\Handlers\Auth2F', | |||||
'active' => true, | |||||
] | |||||
); | |||||
Sku::create( | |||||
[ | |||||
'title' => 'activesync', | |||||
'name' => 'Activesync', | |||||
'description' => 'Mobile synchronization', | |||||
'cost' => 100, | |||||
'units_free' => 0, | |||||
'period' => 'monthly', | |||||
'handler_class' => 'App\Handlers\Activesync', | |||||
'active' => true, | |||||
] | |||||
); | |||||
} | } | ||||
} | } |