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