<?php
namespace Sartoric\ModularCms\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('users')->insert(
            array(
                [
                    'id'          => 1,
                    'username'    => 'superadmin',
                    'password'    => bcrypt('PASSWORD_ADMIN'),
                    'active'      => 1
                ]
            )
        );
    }
}
