insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'recomentations.recomentation.view', 'name' => 'View Recomentation', ], [ 'slug' => 'recomentations.recomentation.create', 'name' => 'Create Recomentation', ], [ 'slug' => 'recomentations.recomentation.edit', 'name' => 'Update Recomentation', ], [ 'slug' => 'recomentations.recomentation.delete', 'name' => 'Delete Recomentation', ], // Customize this permissions if needed. [ 'slug' => 'recomentations.recomentation.verify', 'name' => 'Verify Recomentation', ], [ 'slug' => 'recomentations.recomentation.approve', 'name' => 'Approve Recomentation', ], [ 'slug' => 'recomentations.recomentation.publish', 'name' => 'Publish Recomentation', ], [ 'slug' => 'recomentations.recomentation.unpublish', 'name' => 'Unpublish Recomentation', ], [ 'slug' => 'recomentations.recomentation.cancel', 'name' => 'Cancel Recomentation', ], [ 'slug' => 'recomentations.recomentation.archive', 'name' => 'Archive Recomentation', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/recomentations/recomentation', 'name' => 'Recomentation', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/recomentations/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' => 'Recomentations', 'module' => 'Recomentation', 'user_type' => null, 'user_id' => null, 'key' => 'recomentations.recomentation.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }