database/seeds/DeliveryExcludeSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DeliveryExclude::query()->delete();
        DeliveryExclude::create([
            'date_exclu' => Carbon\Carbon::now()
        ]);
    }
public function run ( ) { DeliveryExclude :: query ( ) -> delete ( ) ; DeliveryExclude :: create ( [ 'date_exclu' => Carbon \ Carbon :: now ( ) ] ) ; }
Run the database seeds.
Run the database seeds .