New key/value setting in the Export-Dateien submenu, seeded to '0' and allowlisted in SettingsController. Controls whether a countdown standby slide is prepended to playlist exports.
23 lines
430 B
PHP
23 lines
430 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Setting;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class CcliSettingsSeeder extends Seeder
|
|
{
|
|
public function run(): void
|
|
{
|
|
Setting::firstOrCreate(
|
|
['key' => 'default_translation_language'],
|
|
['value' => 'DE'],
|
|
);
|
|
|
|
Setting::firstOrCreate(
|
|
['key' => 'add_countdown_slide'],
|
|
['value' => '0'],
|
|
);
|
|
}
|
|
}
|