<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class MenuSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::insert("INSERT INTO menus (id, nama_menu, aksi_menu) VALUES
(1,'OPD', 'View'),
(2,'OPD', 'Create'),
(3,'OPD', 'Update'),
(4,'OPD', 'Delete'),
(5,'Resume', 'View'),
(6,'Level', 'View'),
(7,'Level', 'Create'),
(8,'Level', 'Update'),
(9,'Level', 'Delete'),
(10,'User', 'View'),
(11,'User', 'Create'),
(12,'User', 'Update'),
(13,'User', 'Delete'),
(14,'Sumber Dana', 'View'),
(15,'Sumber Dana', 'Create'),
(16,'Sumber Dana', 'Update'),
(17,'Sumber Dana', 'Delete'),
(18,'Pengumuman', 'View'),
(19,'Program', 'View'),
(20,'Program', 'Create'),
(21,'Program', 'Update'),
(22,'Program', 'Delete'),
(23,'Kegiatan', 'View'),
(24,'Kegiatan', 'Create'),
(25,'Kegiatan', 'Update'),
(26,'Kegiatan', 'Delete'),
(27,'Sub Kegiatan', 'View'),
(28,'Sub Kegiatan', 'Create'),
(29,'Sub Kegiatan', 'Update'),
(30,'Sub Kegiatan', 'Delete'),
(31,'Bidang', 'View'),
(32,'Bidang', 'Create'),
(33,'Bidang', 'Update'),
(34,'Bidang', 'Delete'),
(35,'Pimpinan', 'View'),
(36,'Pimpinan', 'Create'),
(37,'Pimpinan', 'Update'),
(38,'Pimpinan', 'Delete'),
(39,'PPK', 'View'),
(40,'PPK', 'Create'),
(41,'PPK', 'Update'),
(42,'PPK', 'Delete'),
(43,'KPA', 'View'),
(44,'KPA', 'Create'),
(45,'KPA', 'Update'),
(46,'KPA', 'Delete'),
(47,'PPTK', 'View'),
(48,'PPTK', 'Create'),
(49,'PPTK', 'Update'),
(50,'PPTK', 'Delete'),
(51,'Proker', 'View'),
(52,'Proker', 'Create'),
(53,'Proker', 'Update'),
(54,'Proker', 'Delete'),
(55,'Realisasi', 'View'),
(56,'Realisasi', 'Create'),
(57,'Pengaturan', 'View'),
(58,'Pengaturan', 'Create'),
(59,'Pengaturan', 'Update'),
(60,'Pengaturan', 'Delete')");
}
}
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]