move into sonardesk
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Localization\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Modules\Localization\Models\Locale;
|
||||
|
||||
final class LocaleSeeder extends Seeder
|
||||
{
|
||||
public function run(): void
|
||||
{
|
||||
Locale::query()->updateOrCreate(['code' => 'en'], [
|
||||
'name' => 'English', 'native_name' => 'English', 'regional_code' => 'en-GB',
|
||||
'direction' => 'ltr', 'date_format' => 'd/m/Y', 'time_format' => 'H:i',
|
||||
'timezone' => config('app.timezone', 'UTC'), 'currency_code' => 'GBP',
|
||||
'currency_symbol' => '£', 'position' => 0, 'is_default' => true, 'is_active' => true,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user