mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 12:34:01 +00:00
26 lines
540 B
PHP
26 lines
540 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Classes\Modules\Segments\DataTransferObjects\SegmentObject;
|
|
use App\Classes\Modules\Segments\Services\CreatesSegment;
|
|
use App\Classes\ValueObjects\Constants\SegmentConstants;
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class SegmentsTableSeeder extends Seeder
|
|
{
|
|
|
|
|
|
/**
|
|
*/
|
|
public function run()
|
|
{
|
|
|
|
DB::table('segments')->insert([
|
|
'name' => 'Standard Segment',
|
|
'type' => SegmentConstants::STANDARD_SEGMENT
|
|
]);
|
|
}
|
|
}
|