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