migrations/Version20231005123459.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. /**
  7.  * Auto-generated Migration: Please modify to your needs!
  8.  */
  9. final class Version20231005123459 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17.         $entries = [
  18.             ['title' => 'Listing''slug' => 'admin_role_listing''route' => 'user/role/list''group' => 'Role''desc' => 'description''status' => '1'],
  19.             ['title' => 'Add''slug' => 'admin_role_add''route' => 'user/role/add/''group' => 'Role''desc' => 'description''status' => '1'],
  20.             ['title' => 'Edit''slug' => 'admin_role_edit''route' => 'user/role/edit/''group' => 'Role''desc' => 'description''status' => '1'],
  21.             ['title' => 'Delete''slug' => 'admin_role_delete''route' => 'user/role/delete/''group' => 'Role''desc' => 'description''status' => '1'],
  22.             ['title' => 'Assign Permission''slug' => 'admin_role_assign_permission''route' => 'role/permissions/*''group' => 'Role''desc' => 'description''status' => '1'],           
  23.             
  24.             ['title' => 'Listing''slug' => 'admin_user_listing''route' => 'user/list''group' => 'User''desc' => 'description''status' => '1'],
  25.             ['title' => 'Add''slug' => 'admin_user_add''route' => 'user/add''group' => 'User''desc' => 'description''status' => '1'],
  26.             ['title' => 'Edit''slug' => 'admin_user_edit''route' => 'user/edit/''group' => 'User''desc' => 'description''status' => '1'],
  27.             ['title' => 'Delete''slug' => 'admin_user_delete''route' => 'user/delete/''group' => 'User''desc' => 'description''status' => '1'],            
  28.             ['title' => 'Assign Permission''slug' => 'admin_user_assign_permission''route' => 'user/role/permission/''group' => 'User''desc' => 'description''status' => '1'],
  29.             ['title' => 'Listing''slug' => 'app_home_owner_list''route' => 'home-owners/index''group' => 'Home Owner''desc' => 'description''status' => '1'],            
  30.             ['title' => 'Edit''slug' => 'admin_home_owner_edit''route' => 'home-owners/edit/''group' => 'Home Owner''desc' => 'description''status' => '1'],
  31.             ['title' => 'Delete''slug' => 'app_home_owner_delete''route' => 'home-owners/index/list/delete/''group' => 'Home Owner''desc' => 'description''status' => '1'],
  32.             
  33.             
  34.             ['title' => 'Listing''slug' => 'app_architect_listing''route' => 'architect/index''group' => 'Architects''desc' => 'description''status' => '1'],            
  35.             ['title' => 'Edit''slug' => 'admin_architect_edit''route' => 'architects/edit/''group' => 'Architects''desc' => 'description''status' => '1'],
  36.             ['title' => 'Delete''slug' => 'app_architect_delete''route' => 'architects/list/delete/''group' => 'Architects''desc' => 'description''status' => '1'],
  37.             
  38.             ['title' => 'Listing''slug' => 'app_builder_listing''route' => 'builders/index''group' => 'Builders''desc' => 'description''status' => '1'],            
  39.             ['title' => 'Edit''slug' => 'admin_builder_edit''route' => 'builders/edit/''group' => 'Builders''desc' => 'description''status' => '1'],
  40.             ['title' => 'Delete''slug' => 'app_builder_delete''route' => 'builders/list/delete/''group' => 'Builders''desc' => 'description''status' => '1'],
  41.             ['title' => 'Listing''slug' => 'app_showroom_list''route' => 'showroom/index''group' => 'Showrooms''desc' => 'description''status' => '1'],            
  42.             ['title' => 'Edit''slug' => 'admin_showroom_edit''route' => 'showroom/edit/''group' => 'Showrooms''desc' => 'description''status' => '1'],
  43.             ['title' => 'Delete''slug' => 'app_showroom_delete''route' => 'showroom/index/delete/''group' => 'Showrooms''desc' => 'description''status' => '1'],
  44.             ['title' => 'Listing''slug' => 'app_interior_designer_listing''route' => 'interior-designers/index''group' => 'Interior Designers''desc' => 'description''status' => '1'],            
  45.             ['title' => 'Edit''slug' => 'admin_interior_designer_edit''route' => 'interior-designers/index/edit/''group' => 'Interior Designers''desc' => 'description''status' => '1'],
  46.             ['title' => 'Delete''slug' => 'app_interior_designer_delete''route' => 'interior-designers/index/delete/''group' => 'Interior Designers''desc' => 'description''status' => '1'],
  47.             ['title' => 'Listing''slug' => 'app_master_data_list''route' => 'master-data/index''group' => 'Master Data''desc' => 'description''status' => '1'],            
  48.             ['title' => 'Add''slug' => 'app_master_data_create''route' => 'master-data/create''group' => 'Master Data''desc' => 'description''status' => '1'],
  49.             ['title' => 'Edit''slug' => 'admin_master_data_edit''route' => 'master-data/edit/''group' => 'Master Data''desc' => 'description''status' => '1'],
  50.             ['title' => 'Delete''slug' => 'admin_master_data_delete''route' => 'master-data/index/delete/''group' => 'Master Data''desc' => 'description''status' => '1'],
  51.             ['title' => 'Listing''slug' => 'admin_education_category_listing''route' => 'education-category/index/''group' => 'Education Categories''desc' => 'description''status' => '1'],            
  52.             ['title' => 'Add''slug' => 'admin_education_category_add''route' => 'education-category/add/''group' => 'Education Categories''desc' => 'description''status' => '1'],
  53.             ['title' => 'Edit''slug' => 'admin_education_category_edit''route' => 'education-category/edit/''group' => 'Education Categories''desc' => 'description''status' => '1'],
  54.             ['title' => 'Delete''slug' => 'education_category_delete''route' => 'education-category/index/delete/''group' => 'Education Categories''desc' => 'description''status' => '1'],
  55.             ['title' => 'Listing''slug' => 'admin_podcast_category_listing''route' => 'podcast-category/index/''group' => 'Podcast Categories''desc' => 'description''status' => '1'],            
  56.             ['title' => 'Add''slug' => 'admin_podcast_category_add''route' => 'podcast-category/add/''group' => 'Podcast Categories''desc' => 'description''status' => '1'],
  57.             ['title' => 'Edit''slug' => 'admin_podcast_category_edit''route' => 'podcast-category/edit/''group' => 'Podcast Categories''desc' => 'description''status' => '1'],
  58.             ['title' => 'Delete''slug' => 'podcast_category_delete''route' => 'podcast-category/index/delete/''group' => 'Podcast Categories''desc' => 'description''status' => '1'],
  59.             ['title' => 'Listing''slug' => 'admin_memo_category_listing''route' => 'memo-category/index/''group' => 'Memo Categories''desc' => 'description''status' => '1'],            
  60.             ['title' => 'Add''slug' => 'admin_memo_category_add''route' => 'memo-category/add/''group' => 'Memo Categories''desc' => 'description''status' => '1'],
  61.             ['title' => 'Edit''slug' => 'admin_memo_category_edit''route' => 'memo-category/edit/''group' => 'Memo Categories''desc' => 'description''status' => '1'],
  62.             ['title' => 'Delete''slug' => 'podcast_memo_delete''route' => 'memo-category/index/delete/''group' => 'Memo Categories''desc' => 'description''status' => '1'],
  63.             ['title' => 'Listing''slug' => 'admin_resource_category_listing''route' => 'resource-category/index/''group' => 'Resource Categories''desc' => 'description''status' => '1'],            
  64.             ['title' => 'Add''slug' => 'admin_resource_category_add''route' => 'resource-category/add/''group' => 'Resource Categories''desc' => 'description''status' => '1'],
  65.             ['title' => 'Edit''slug' => 'admin_resource_category_edit''route' => 'resource-category/edit/''group' => 'Resource Categories''desc' => 'description''status' => '1'],
  66.             ['title' => 'Delete''slug' => 'podcast_resource_delete''route' => 'resource-category/index/delete/''group' => 'Resource Categories''desc' => 'description''status' => '1'],
  67.             ['title' => 'Listing''slug' => 'app_memos_listing''route' => 'memos/index''group' => 'Memo Management''desc' => 'description''status' => '1'],            
  68.             ['title' => 'Add''slug' => 'app_memos_add''route' => 'memos/index/add''group' => 'Memo Management''desc' => 'description''status' => '1'],
  69.             ['title' => 'Edit''slug' => 'admin_memos_edit''route' => 'memos/index/edit/''group' => 'Memo Management''desc' => 'description''status' => '1'],
  70.             ['title' => 'Delete''slug' => 'app_memos_delete''route' => 'memos/index/delete/''group' => 'Memo Management''desc' => 'description''status' => '1'],
  71.            
  72.             ['title' => 'Listing''slug' => 'admin_education_type_listing''route' => 'education-type''group' => 'Education Types''desc' => 'description''status' => '1'],            
  73.             ['title' => 'Add''slug' => 'admin_education_type_add''route' => 'education-type/add''group' => 'Education Types''desc' => 'description''status' => '1'],
  74.             ['title' => 'Edit''slug' => 'admin_education_type_edit''route' => 'education-type/edit/''group' => 'Education Types''desc' => 'description''status' => '1'],
  75.             ['title' => 'Delete''slug' => 'admin_education_type_delete''route' => 'education-type/delete/''group' => 'Education Types''desc' => 'description''status' => '1'],
  76.             ['title' => 'Listing''slug' => 'admin_education_listing''route' => 'educations/index''group' => 'Education Management''desc' => 'description''status' => '1'],            
  77.             ['title' => 'Add''slug' => 'app_education_add''route' => 'education/index/add''group' => 'Education Management''desc' => 'description''status' => '1'],
  78.             ['title' => 'Edit''slug' => 'admin_education_edit''route' => 'education/index/edit/''group' => 'Education Management''desc' => 'description''status' => '1'],
  79.             ['title' => 'Delete''slug' => 'app_education_delete''route' => 'education/index/delete/''group' => 'Education Management''desc' => 'description''status' => '1'],
  80.             ['title' => 'Listing''slug' => 'app_podcast_listing''route' => 'podcast/index''group' => 'Podcast Management''desc' => 'description''status' => '1'],            
  81.             ['title' => 'Add''slug' => 'app_podcast_add''route' => 'podcast/index/add''group' => 'Podcast Management''desc' => 'description''status' => '1'],
  82.             ['title' => 'Edit''slug' => 'admin_podcast_edit''route' => 'podcast/index/edit/''group' => 'Podcast Management''desc' => 'description''status' => '1'],
  83.             ['title' => 'Delete''slug' => 'app_podcast_delete''route' => 'podcast/index/delete/''group' => 'Podcast Management''desc' => 'description''status' => '1'],
  84.             ['title' => 'Listing''slug' => 'app_business_categories_listing''route' => 'business_categories/index''group' => 'Business Category Management''desc' => 'description''status' => '1'],            
  85.             ['title' => 'Add''slug' => 'app_business_categories_add''route' => 'business_categories/index/add''group' => 'Business Category Management''desc' => 'description''status' => '1'],
  86.             ['title' => 'Edit''slug' => 'app_business_categories_edit''route' => 'business_categories/index/edit/''group' => 'Business Category Management''desc' => 'description''status' => '1'],
  87.             ['title' => 'Delete''slug' => 'app_business_categories_delete''route' => 'business_categories/index/delete/''group' => 'Business Category Management''desc' => 'description''status' => '1'],
  88.             ['title' => 'Listing''slug' => 'admin_geographic_zone_listing''route' => 'geographic-zone/index''group' => 'Geographic Zone''desc' => 'description''status' => '1'],            
  89.             ['title' => 'Add''slug' => 'admin_geographic_zone_add''route' => 'geographic-zone/index/add''group' => 'Geographic Zone''desc' => 'description''status' => '1'],
  90.             ['title' => 'Edit''slug' => 'admin_geographic_zone_edit''route' => 'geographic-zone/index/edit/''group' => 'Geographic Zone''desc' => 'description''status' => '1'],
  91.             ['title' => 'Delete''slug' => 'admin_geographic_zone_delete''route' => 'geographic-zone/index/delete/''group' => 'Geographic Zone''desc' => 'description''status' => '1'],
  92.             ['title' => 'Listing''slug' => 'admin_user_ads_listing''route' => 'user-ads/index''group' => 'User Ads''desc' => 'description''status' => '1'],            
  93.             ['title' => 'Add''slug' => 'admin_user_ads_add''route' => 'user-ads/index/add''group' => 'User Ads''desc' => 'description''status' => '1'],
  94.             ['title' => 'Edit''slug' => 'admin_user_ads_edit''route' => 'user-ads/index/edit/''group' => 'User Ads''desc' => 'description''status' => '1'],
  95.             ['title' => 'Delete''slug' => 'admin_user_ads_delete''route' => 'user-ads/index/delete/''group' => 'User Ads''desc' => 'description''status' => '1'],
  96.             ['title' => 'Listing''slug' => 'admin_user_ads_data_listing''route' => 'user-ads-data/index''group' => 'User Ads Data''desc' => 'description''status' => '1'],            
  97.             ['title' => 'Add''slug' => 'admin_user_ads_data_add''route' => 'user-ads-data/index/add''group' => 'User Ads Data''desc' => 'description''status' => '1'],
  98.             ['title' => 'Edit''slug' => 'admin_user_ads_data_edit''route' => 'user-ads-data/index/edit/''group' => 'User Ads Data''desc' => 'description''status' => '1'],
  99.             ['title' => 'Delete''slug' => 'admin_user_ads_data_delete''route' => 'user-ads-data/index/delete/''group' => 'User Ads Data''desc' => 'description''status' => '1'],
  100.             ['title' => 'Edit''slug' => 'app_ads_default_images_update''route' => 'ads-default/update''group' => 'Ads Default Images''desc' => 'description''status' => '1'],
  101.             ['title' => 'Listing''slug' => 'admin_ads_inquiry_listing''route' => 'user-ads/ads-inquiry/index''group' => 'User Ads Inquiry''desc' => 'description''status' => '1'],
  102.            
  103.             
  104.             ['title' => 'Listing''slug' => 'admin_ads_inquiry_listing''route' => 'email-templates/index''group' => 'Email Templates''desc' => 'description''status' => '1'],
  105.             ['title' => 'Add''slug' => 'admin_email_templates_add''route' => 'email-templates/index/add''group' => 'Email Templates''desc' => 'description''status' => '1'],
  106.             ['title' => 'Edit''slug' => 'admin_email_templates_edit''route' => 'email-templates/index/edit/*''group' => 'Email Templates''desc' => 'description''status' => '1'],
  107.             ['title' => 'Delete''slug' => 'admin_email_templates_delete''route' => 'email-templates/index/delete/*''group' => 'Email Templates''desc' => 'description''status' => '1'],
  108.             
  109.             ['title' => 'Listing''slug' => 'app_suplier_categories_listing''route' => 'supplier-categories/index''group' => 'Supllier Categories''desc' => 'description''status' => '1'],
  110.             ['title' => 'Add''slug' => 'app_suplier_categories_add''route' => 'supplier-categories/index/add''group' => 'Supllier Categories''desc' => 'description''status' => '1'],
  111.             ['title' => 'Edit''slug' => 'app_suplier_categories_edit''route' => 'supplier-categories/index/edit/*''group' => 'Supllier Categories''desc' => 'description''status' => '1'],
  112.             ['title' => 'Delete''slug' => 'app_suplier_categories_delete''route' => 'supplier-categories/index/delete/*''group' => 'Supllier Categories''desc' => 'description''status' => '1'],
  113.             
  114.             ['title' => 'Listing''slug' => 'app_suppliers_list''route' => 'supplier-categories/index''group' => 'Supllier List''desc' => 'description''status' => '1'],
  115.             ['title' => 'Edit''slug' => 'admin_supplier_edit''route' => 'supplier-categories/index/edit/*''group' => 'Supllier List''desc' => 'description''status' => '1'],
  116.             ['title' => 'Delete''slug' => 'admin_supplier_edit''route' => 'supplier-categories/index/delete/*''group' => 'Supllier List''desc' => 'description''status' => '1'],
  117.             
  118.             ['title' => 'Listing''slug' => 'app_purchasing_groups_categories_listing''route' => 'purchasing-groups-categories/index''group' => 'Purchasing Groups Categories''desc' => 'description''status' => '1'],
  119.             ['title' => 'Add''slug' => 'app_purchasing_groups_categories_add''route' => 'purchasing-groups-categories/index/add''group' => 'Purchasing Groups Categories''desc' => 'description''status' => '1'],
  120.             ['title' => 'Edit''slug' => 'app_purchasing_groups_categories_edit''route' => 'purchasing-groups-categories/index/edit/*''group' => 'Purchasing Groups Categories''desc' => 'description''status' => '1'],
  121.             ['title' => 'Delete''slug' => 'app_purchasing_groups_categories_delete''route' => 'purchasing-groups-categories/index/delete/*''group' => 'Purchasing Groups Categories''desc' => 'description''status' => '1'],
  122.             ['title' => 'Listing''slug' => 'app_purchasing_groups_listing''route' => 'purchasing-groups/index''group' => 'Purchasing Groups ''desc' => 'description''status' => '1'],
  123.             ['title' => 'Add''slug' => 'app_purchasing_groups_categories_add''route' => 'purchasing-groups/index/add''group' => 'Purchasing Groups ''desc' => 'description''status' => '1'],
  124.             ['title' => 'Edit''slug' => 'app_purchasing_groups_categories_edit''route' => 'purchasing-groups/index/edit/*''group' => 'Purchasing Groups ''desc' => 'description''status' => '1'],
  125.             ['title' => 'Delete''slug' => 'app_purchasing_groups_categories_delete''route' => 'purchasing-groups/index/delete/*''group' => 'Purchasing Groups ''desc' => 'description''status' => '1'],
  126.             ['title' => 'Listing''slug' => 'admin_directory_profile_categories_listing''route' => 'directory-profile-categories/index''group' => 'Directory Profile Categories ''desc' => 'description''status' => '1'],
  127.             ['title' => 'Add''slug' => 'admin_directory_profile_categories_add''route' => 'directory-profile-categories/index/add''group' => 'Directory Profile Categories ''desc' => 'description''status' => '1'],
  128.             ['title' => 'Edit''slug' => 'admin_directory_profile_categories_edit''route' => 'directory-profile-categories/index/edit/*''group' => 'Directory Profile Categories ''desc' => 'description''status' => '1'],
  129.             ['title' => 'Delete''slug' => 'admin_directory_profile_categories_delete''route' => 'directory-profile-categories/index/delete/*''group' => 'Directory Profile Categories ''desc' => 'description''status' => '1'],
  130.             ['title' => 'Listing''slug' => 'admin_directory_profile_listing''route' => 'directory-profile/index''group' => 'Directory Profile''desc' => 'description''status' => '1'],
  131.             ['title' => 'Add''slug' => 'admin_directory_profile_add''route' => 'directory-profile/index/add''group' => 'Directory Profile''desc' => 'description''status' => '1'],
  132.             ['title' => 'Edit''slug' => 'admin_directory_profile_edit''route' => 'directory-profile/index/edit/*''group' => 'Directory Profile''desc' => 'description''status' => '1'],
  133.             ['title' => 'Delete''slug' => 'admin_directory_profile_delete''route' => 'directory-profile/index/delete/*''group' => 'Directory Profile''desc' => 'description''status' => '1'],
  134.             ['title' => 'Listing''slug' => 'admin_private_community_listing''route' => 'private-community/index''group' => 'Private Community ''desc' => 'description''status' => '1'],
  135.             ['title' => 'Edit''slug' => 'admin_private_community_edit''route' => 'private-community/index/edit/*''group' => 'Private Community ''desc' => 'description''status' => '1'],
  136.             ['title' => 'Delete''slug' => 'admin_private_community_delete''route' => 'private-community/index/delete/*''group' => 'Private Community ''desc' => 'description''status' => '1'],
  137.             ['title' => 'Listing''slug' => 'admin_community_category_listing''route' => 'community-category/index''group' => 'Community Categories ''desc' => 'description''status' => '1'],
  138.             ['title' => 'Add''slug' => 'admin_private_community_add''route' => 'community-category/index/add/*''group' => 'Community Categories ''desc' => 'description''status' => '1'],
  139.             ['title' => 'Edit''slug' => 'admin_private_community_edit''route' => 'community-category/index/edit/*''group' => 'Community Categories ''desc' => 'description''status' => '1'],
  140.             ['title' => 'Delete''slug' => 'admin_private_community_delete''route' => 'community-category/index/delete/*''group' => 'Community Categories ''desc' => 'description''status' => '1'],
  141.             ['title' => 'Listing''slug' => 'admin_category_group_listing''route' => 'community-groups/index''group' => 'Community groups ''desc' => 'description''status' => '1'],
  142.             ['title' => 'Add''slug' => 'admin_category_group_add''route' => 'community-groups/index/add/*''group' => 'Community groups ''desc' => 'description''status' => '1'],
  143.             ['title' => 'Edit''slug' => 'admin_category_group_edit''route' => 'community-groups/index/edit/*''group' => 'Community Groups ''desc' => 'description''status' => '1'],
  144.             ['title' => 'Delete''slug' => 'admin_category_group_delete''route' => 'community-groups/index/delete/*''group' => 'Community Groups ''desc' => 'description''status' => '1'],
  145.             ['title' => 'Listing''slug' => 'admin_category_tags_listing''route' => 'community-tags/index''group' => 'Community Tags ''desc' => 'description''status' => '1'],
  146.             ['title' => 'Add''slug' => 'admin_category_tags_add''route' => 'community-tags/index/add/*''group' => 'Community Tags ''desc' => 'description''status' => '1'],
  147.             ['title' => 'Edit''slug' => 'admin_category_tags_edit''route' => 'community-tags/index/edit/*''group' => 'Community Tags ''desc' => 'description''status' => '1'],
  148.             ['title' => 'Delete''slug' => 'admin_category_tags_delete''route' => 'community-tags/index/delete/*''group' => 'Community Tags ''desc' => 'description''status' => '1'],
  149.             ['title' => 'Listing''slug' => 'admin_media_kit_listing''route' => 'media-kit/index/{id?}''group' => 'Media Kit ''desc' => 'description''status' => '1'],
  150.             ['title' => 'Add''slug' => 'admin_media_kit_add''route' => 'media-kit/index/add/*''group' => 'Media Kit ''desc' => 'description''status' => '1'],
  151.             ['title' => 'Edit''slug' => 'admin_media_kit_edit''route' => 'media-kit/index/edit/*''group' => 'Media Kit ''desc' => 'description''status' => '1'],
  152.             ['title' => 'Delete''slug' => 'admin_media_kit_delete''route' => 'media-kit/index/delete/*''group' => 'Media Kit ''desc' => 'description''status' => '1'],
  153.             ['title' => 'Listing''slug' => 'admin_media_kit_audit_listing''route' => 'media-kit-download''group' => 'Media Kit Audit''desc' => 'description''status' => '1'],
  154.             ['title' => 'Listing''slug' => 'resource_types_listing''route' => 'resource-types/index/{id?}''group' => 'Resource Types''desc' => 'description''status' => '1'],            
  155.             ['title' => 'Add''slug' => 'admin_resources_add''route' => 'resource-types/index/add/''group' => 'Resource Types''desc' => 'description''status' => '1'],
  156.             ['title' => 'Edit''slug' => 'admin_resources_edit''route' => 'resource-types/index/edit/''group' => 'Resource Types''desc' => 'description''status' => '1'],
  157.             ['title' => 'Delete''slug' => 'admin_resources_delete''route' => 'resource-types/index/delete/''group' => 'Resource Types''desc' => 'description''status' => '1'],
  158.             ['title' => 'Listing''slug' => 'admin_resources_listing''route' => 'resource/index/''group' => 'Resources''desc' => 'description''status' => '1'],            
  159.             ['title' => 'Edit''slug' => 'admin_resources_edit''route' => 'resource/index/edit/''group' => 'Resources''desc' => 'description''status' => '1'],
  160.             ['title' => 'Delete''slug' => 'admin_resources_delete''route' => 'resource/index/delete/''group' => 'Resources''desc' => 'description''status' => '1'],
  161.             ['title' => 'Listing''slug' => 'resource_types_listing''route' => 'rating-criteria''group' => 'Rating Criteria''desc' => 'description''status' => '1'],            
  162.             ['title' => 'Add''slug' => 'admin_rating_criteria_add''route' => 'rating-criteria/add''group' => 'Rating Criteria''desc' => 'description''status' => '1'],
  163.             ['title' => 'Edit''slug' => 'admin_rating_criteria_edit''route' => 'rating-criteria/edit''group' => 'Rating Criteria''desc' => 'description''status' => '1'],
  164.             ['title' => 'Delete''slug' => 'admin_rating_criteria_delete''route' => 'rating-criteria/delete''group' => 'Rating Criteria''desc' => 'description''status' => '1'],
  165.             ['title' => 'Edit''slug' => 'admin_general_setting_update''route' => 'settings/update''group' => 'General Settings''desc' => 'description''status' => '1'],
  166.             ['title' => 'Listing''slug' => 'admin_contact_us_listing''route' => 'contactUs''group' => 'Contact Us''desc' => 'description''status' => '1'],
  167.             ['title' => 'Reply''slug' => 'admin_contact_us_reply''route' => 'contactUs/reply''group' => 'Contact Us''desc' => 'description''status' => '1'],
  168.             ['title' => 'Delete''slug' => 'admin_inquiry_delete''route' => 'contactUs/deleteInquiry''group' => 'Contact Us''desc' => 'description''status' => '1'],
  169.             
  170.             ['title' => 'Listing''slug' => 'admin_footer-links_listing''route' => 'footer-links/index''group' => 'Footer Links''desc' => 'description''status' => '1'], 
  171.             ['title' => 'Add''slug' => 'admin_footer_links_add''route' => 'footer-links/add''group' => 'Footer Links''desc' => 'description''status' => '1'],
  172.             ['title' => 'Edit''slug' => 'admin_footer_links_edit''route' => 'footer-links/edit''group' => 'Footer Links''desc' => 'description''status' => '1'],
  173.             ['title' => 'Delete''slug' => 'admin_footer_links_delete''route' => 'footer-links/delete''group' => 'Footer Links''desc' => 'description''status' => '1'],
  174.             
  175.             ['title' => 'Listing''slug' => 'admin_contact_preferences_edit''route' => 'contact-preferences''group' => 'Contact Us Preferences''desc' => 'description''status' => '1'], 
  176.             ['title' => 'Add''slug' => 'admin_contact_preferences_add''route' => 'contact-preferences/add''group' => 'Contact Us Preferences''desc' => 'description''status' => '1'],
  177.             ['title' => 'Edit''slug' => 'admin_contact_preferences_edit''route' => 'contact-preferences/edit''group' => 'Contact Us Preferences''desc' => 'description''status' => '1'],
  178.             ['title' => 'Delete''slug' => 'admin_contact_preferences_delete''route' => 'contact-preferences/delete''group' => 'Contact Us Preferences''desc' => 'description''status' => '1'],
  179.                
  180.            
  181.             ['title' => 'Listing''slug' => 'admin_cms_page_listing''route' => 'cms-page/list''group' => 'CMS Pages''desc' => 'description''status' => '1'],
  182.             ['title' => 'Add''slug' => 'admin_cms_page_add''route' => 'cms-page/create''group' => 'CMS Pages''desc' => 'description''status' => '1'],
  183.             ['title' => 'Edit''slug' => 'admin_cms_page_edit''route' => 'cms-page/edit/*''group' => 'CMS Pages''desc' => 'description''status' => '1'],
  184.             ['title' => 'Delete''slug' => 'admin_cms_page_delete''route' => 'cms-page/delete/*''group' => 'CMS Pages''desc' => 'description''status' => '1'],
  185.             ['title' => 'Listing''slug' => 'admin_newsletter_listing''route' => 'newsletter''group' => 'Newsletter''desc' => 'description''status' => '1'],
  186.           
  187.             ['title' => 'Listing''slug' => 'admin_subscription_transactions''route' => 'subscription/transactions''group' => 'Subscription Transactions''desc' => 'description''status' => '1'],
  188.             ['title' => 'Listing''slug' => 'admin_subscription_plan_listing''route' => 'subscription-plan/list''group' => 'Subscription Plan''desc' => 'description''status' => '1'],
  189.             ['title' => 'Add''slug' => 'admin_subscription_plan_add''route' => 'subscription-plan/create''group' => 'Subscription Plan''desc' => 'description''status' => '1'],
  190.             ['title' => 'Edit''slug' => 'admin_subscription_plan_edit''route' => 'subscription-plan/edit/*''group' => 'Subscription Plan''desc' => 'description''status' => '1'],
  191.             ['title' => 'Delete''slug' => 'admin_subscription_plan_delete''route' => 'subscription-plan/delete/*''group' => 'Subscription Plan''desc' => 'description''status' => '1'],
  192.             
  193.         ];
  194.         foreach ($entries as $entry) {
  195.             $existingEntry $this->connection->fetchAssociative(
  196.                 'SELECT * FROM permissions WHERE permission_title = :title',
  197.                 ['title' => $entry['title']]
  198.             );
  199.             if (!$existingEntry) {
  200.                 $this->addSql('INSERT INTO permissions (permission_title, permission_slug , permission_route,permission_group,permission_description,status,created_at) VALUES (:title, :slug, :route, :group,:desc,:status,CURRENT_TIMESTAMP)', [
  201.                     'title' => $entry['title'],
  202.                     'slug' => $entry['slug'],
  203.                     'route' => $entry['route'],
  204.                     'group' => $entry['group'],
  205.                     'desc' => $entry['desc'],
  206.                     'status' => 1,
  207.                 ]);
  208.             }
  209.         }
  210.     }
  211.     public function down(Schema $schema): void
  212.     {
  213.         // this down() migration is auto-generated, please modify it to your needs
  214.         $this->addSql('ALTER TABLE permission_user DROP FOREIGN KEY FK_DC5D4DE9FED90CCA');
  215.         $this->addSql('ALTER TABLE permission_user DROP FOREIGN KEY FK_DC5D4DE9A76ED395');
  216.         $this->addSql('DROP TABLE permission_user');
  217.     }
  218. }