insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'litecms.aml.deal.view', 'name' => 'View Deal', ], [ 'slug' => 'litecms.aml.deal.create', 'name' => 'Create Deal', ], [ 'slug' => 'litecms.aml.deal.edit', 'name' => 'Update Deal', ], [ 'slug' => 'litecms.aml.deal.delete', 'name' => 'Delete Deal', ], [ 'slug' => 'litecms.aml.deal.verify', 'name' => 'Verify Deal', ], [ 'slug' => 'litecms.aml.deal.approve', 'name' => 'Approve Deal', ], [ 'slug' => 'litecms.aml.deal.publish', 'name' => 'Publish Deal', ], [ 'slug' => 'litecms.aml.deal.unpublish', 'name' => 'Unpublish Deal', ], [ 'slug' => 'litecms.aml.deal.cancel', 'name' => 'Cancel Deal', ], [ 'slug' => 'litecms.aml.deal.archive', 'name' => 'Archive Deal', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/aml/deal', 'name' => 'Deal', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/aml/deal', 'name' => 'Deal', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'deal', 'name' => 'Deal', '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' => 'Aml', 'module' => 'Deal', 'user_type' => null, 'user_id' => null, 'key' => 'litecms.aml.deal.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }