30 lines
1.4 KiB
PHP
30 lines
1.4 KiB
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\DB;
|
|
use Illuminate\Support\Str;
|
|
|
|
class TagsTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('tags')->insert(['name' => 'Voyages', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Étapes', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Santé', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Humeur', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Idée', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Connaissance', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Habitudes', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Nourriture', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Gratitude', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Fitness', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Rêves', 'created_at' => \Carbon\Carbon::now()]);
|
|
DB::table('tags')->insert(['name' => 'Travail', 'created_at' => \Carbon\Carbon::now()]);
|
|
}
|
|
}
|