edms2023/database/seeds/SettingsSeeder.php

51 lines
2.0 KiB
PHP
Raw Normal View History

2023-09-14 20:59:46 +00:00
<?php
use Illuminate\Database\Seeder;
class SettingsSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('settings')->insert([
[
'website_logo' => 'profile_1591818785.png',
'fabicon' => 'profile_1587650411.ico',
'organization_name' => '{"en":"EDMS Organization", "ru":"Организация EDMS", "tm":"EDMS Guramasy"}',
'organization_phone' => '2545454',
'organization_address' => '{"en":"E-dms","tm":"","ru":""}',
'copyright_content' => '{"en":"E-dms","tm":"","ru":""}',
'document_name_prefix' => 'EDMS',
'temporary_document_name_prefix' => 'EDMS',
'incoming_document_name' => 'EDMS',
'out_going_document_name' => 'EDMS',
'internal_document_name' => 'EDMS',
'notes_document_name' => 'EDMS',
'document_sequential_number_start_value' => '1',
'document_random_number_range' => 'EDMS',
'comment_text_limit' => '500',
'topic_text_limit' => '500',
'additional_notes_text_limit' => '500',
'allowed_uploaded_file_type' => 'pdf,jpeg,jpg,png,doc,docx,xls,xlsx',
'registration_number_prefix' => 'GEL',
'outgoing_registration_number_prefix' => 'GID',
'internal_registration_number_prefix' => 'INT',
'temporary_registration_number_prefix' => 'TMP',
'is_registration_number_with_date' => '1',
'updated_at' => '44186.7007523148',
'created_at' => 'null',
'default_language' => '1',
'data_limit_per_page' => '25',
'dashboard_data_limit' => '25',
'default_disk_quota' => '500',
'user_file_size_limit' => '5',
'notification_refreshing_time' => '10',
]
]);
}
}