Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

seed date laravel

use CarbonCarbon;

Setting::create([
    'name' => 'Start Date',
    'date' => Carbon::parse('2000-01-01')
]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #seed #date #laravel
ADD COMMENT
Topic
Name
3+3 =