Files
unity/database/seeders/RepairService/RepairServiceContractTemplatesTableSeeder.php
T
weiken.intex 5cb7596c6c Rental Service
Repair Service
2021-07-09 14:26:04 +08:00

36 lines
927 B
PHP

<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
namespace Database\Seeders\RepairService;
use Illuminate\Database\Seeder;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\DB;
class RepairServiceContractTemplatesTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('contract_templates')->insert([
[
'id' => 2,
'user_id' => 4,
'name' => 'Repair Car Service',
'complete_day_range' => 1,
'status' => config('constants.contact.status.active'),
'created_at' => date('Y-m-d H:i:s'),
'updated_at' => date('Y-m-d H:i:s')
]
]);
}
}