insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'litecms.contact.document.view', 'name' => 'View Document', ], [ 'slug' => 'litecms.contact.document.create', 'name' => 'Create Document', ], [ 'slug' => 'litecms.contact.document.edit', 'name' => 'Update Document', ], [ 'slug' => 'litecms.contact.document.delete', 'name' => 'Delete Document', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/contact/document', 'name' => 'Document', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/contact/document', 'name' => 'Document', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'document', 'name' => 'Document', 'description' => null, 'icon' => 'las la-scroll, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Contact', 'module' => 'Document', 'user_type' => null, 'user_id' => null, 'key' => 'litecms.contact.document.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }