app/Seeders/MetricSeeder.php
public function run()
    {
        $metrics = $this->getSeedData();

        foreach ($metrics as $metric) {
            $this->metric->model()->create($metric);
        }
    }
public function run()
    {
        $metrics = $this->getSeedData();

        foreach ($metrics as $metric) {
            $this->metric->model()->create($metric);
        }
    }
Runs the seeding operations.