2020-08-30 22:06:01 +00:00
|
|
|
<?php
|
2021-10-12 17:08:15 +00:00
|
|
|
namespace Database\Seeders;
|
2020-08-30 22:06:01 +00:00
|
|
|
|
|
|
|
use App\Facades\Options;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
class DefaultOptionsSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
2021-10-13 00:47:16 +00:00
|
|
|
Options::setOption('notify_new_application_email', true, 'Notify when a new application comes through'); // done
|
|
|
|
Options::setOption('notify_application_comment', false, 'Notify when someone comments on an application'); // done
|
2020-08-31 21:06:00 +00:00
|
|
|
Options::setOption('notify_new_user', true, 'Notify when someone signs up'); // done
|
2021-10-13 00:47:16 +00:00
|
|
|
Options::setOption('notify_application_status_change', true, 'Notify when an application changes status'); // done
|
|
|
|
Options::setOption('notify_applicant_approved', true, 'Notify when an applicant is approved'); // done
|
|
|
|
Options::setOption('notify_vacancystatus_change', false, 'Notify when a vacancy\'s status changes'); // done
|
2020-08-30 22:06:01 +00:00
|
|
|
|
2020-10-21 00:29:50 +00:00
|
|
|
|
2021-10-13 00:47:16 +00:00
|
|
|
Options::setOption('enable_slack_notifications', true, 'Enable slack notifications');
|
|
|
|
Options::setOption('enable_email_notifications', true, 'Enable e-mail notifications');
|
2020-10-21 00:29:50 +00:00
|
|
|
|
2020-08-30 22:06:01 +00:00
|
|
|
}
|
|
|
|
}
|