aboutsummaryrefslogtreecommitdiffhomepage
path: root/database/seeds/PostTypesTableSeeder.php
blob: d21770b109591c81e291134b7c4a77441940c979 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;

class PostTypesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('post_types')->insert([
            'type' => 'Media'
        ]);

        DB::table('post_types')->insert([
            'type' => 'Text'
        ]);
    }
}