1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-16 15:12:32 +01:00
flox/server/database/seeds/CategoryTableSeeder.php

30 lines
538 B
PHP
Raw Normal View History

2015-07-27 20:49:37 +02:00
<?php
use Illuminate\Database\Seeder;
class CategoryTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('categories')->insert([
'name' => 'Movies',
'slug' => 'movies'
]);
DB::table('categories')->insert([
'name' => 'Series',
'slug' => 'series'
]);
DB::table('categories')->insert([
'name' => 'Animes',
'slug' => 'animes'
]);
}
}