for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Modules\Acl\Database\Seeds;
use Illuminate\Database\Seeder;
class PermissionsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
* Insert the permissions related to permissions table.
\DB::table('permissions')->insert(
[
* Permissions model permissions.
'name' => 'index',
'model' => 'permission',
'created_at' => \DB::raw('NOW()'),
'updated_at' => \DB::raw('NOW()')
],
'name' => 'find',
]
);
}