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