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