insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'aalambana.blog.blog.view', 'name' => 'View Blog', ], [ 'slug' => 'aalambana.blog.blog.create', 'name' => 'Create Blog', ], [ 'slug' => 'aalambana.blog.blog.edit', 'name' => 'Update Blog', ], [ 'slug' => 'aalambana.blog.blog.delete', 'name' => 'Delete Blog', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/blog/blog', 'name' => 'Blog', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/blog/blog', 'name' => 'Blog', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'blog', 'name' => 'Blog', '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' => 'Blog', 'module' => 'Blog', 'user_type' => null, 'user_id' => null, 'key' => 'aalambana.blog.blog.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }