tethys/database/seeders/ProjectsTableSeeder.php

29 lines
652 B
PHP
Raw Permalink Normal View History

<?php
namespace Database\Seeders;
use Illuminate\Support\Carbon;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class ProjectsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('projects')->insert([
[
'label' => 'ALLG_FACHLICH',
'name' => 'Allgemein fachliche Arbeiten',
'description' => 'Allgemein fachlich interdisziplinäre Arbeiten',
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
],
]);
}
}