insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'recomentation.recomentation.view', 'name' => 'View Recomentation', ], [ 'slug' => 'recomentation.recomentation.create', 'name' => 'Create Recomentation', ], [ 'slug' => 'recomentation.recomentation.edit', 'name' => 'Update Recomentation', ], [ 'slug' => 'recomentation.recomentation.delete', 'name' => 'Delete Recomentation', ], // Customize this permissions if needed. [ 'slug' => 'recomentation.recomentation.verify', 'name' => 'Verify Recomentation', ], [ 'slug' => 'recomentation.recomentation.approve', 'name' => 'Approve Recomentation', ], [ 'slug' => 'recomentation.recomentation.publish', 'name' => 'Publish Recomentation', ], [ 'slug' => 'recomentation.recomentation.unpublish', 'name' => 'Unpublish Recomentation', ], [ 'slug' => 'recomentation.recomentation.cancel', 'name' => 'Cancel Recomentation', ], [ 'slug' => 'recomentation.recomentation.archive', 'name' => 'Archive Recomentation', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/recomentation/recomentation', 'name' => 'Recomentation', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/recomentation/recomentation', 'name' => 'Recomentation', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'recomentation', 'name' => 'Recomentation', 'description' => null, 'icon' => null, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Recomentation', 'module' => 'Recomentation', 'user_type' => null, 'user_id' => null, 'key' => 'recomentation.recomentation.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }