prod19sep/prod19sep-back-b/authsec_springboot/backend/dump.sql

508 lines
29 KiB
MySQL
Raw Normal View History

2024-09-19 03:22:22 +00:00
DROP TABLE IF EXISTS `accounts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `accounts` (
`id` bigint NOT NULL,
`companyname` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`managing_work` varchar(255) DEFAULT NULL,
`mobile` bigint DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`pancard` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`working` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `accounts` DISABLE KEYS */;
INSERT INTO `accounts` VALUES (1,'test','test@gmail.com','w',123456789,'kk','kk','test','w');
/*!40000 ALTER TABLE `accounts` ENABLE KEYS */;
DROP TABLE IF EXISTS `app_user_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `app_user_log` (
`log_id` bigint NOT NULL,
`created_on` datetime DEFAULT NULL,
`generate_log` varchar(255) DEFAULT NULL,
`log_file_name` varchar(255) DEFAULT NULL,
`log_level` varchar(255) DEFAULT NULL,
`user_name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`log_id`),
UNIQUE KEY `UK_tl3or0c0pxxdvigxponlgee18` (`user_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `app_user_log` DISABLE KEYS */;
INSERT INTO `app_user_log` VALUES (1,'2023-06-09 17:39:20','Y','sysadmin1686312560.log','info','sysadmin');
/*!40000 ALTER TABLE `app_user_log` ENABLE KEYS */;
DROP TABLE IF EXISTS `app_user_log_sequence`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `app_user_log_sequence` (
`next_val` bigint DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `app_user_log_sequence` DISABLE KEYS */;
INSERT INTO `app_user_log_sequence` VALUES (2),(2),(2),(2),(2),(2),(2),(2),(2),(1);
/*!40000 ALTER TABLE `app_user_log_sequence` ENABLE KEYS */;
DROP TABLE IF EXISTS `logs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `logs` (
`user_id` bigint NOT NULL,
`dated` varchar(255) DEFAULT NULL,
`lavel` varchar(255) DEFAULT NULL,
`logger` varchar(255) DEFAULT NULL,
`message` varchar(255) DEFAULT NULL,
PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `role` DISABLE KEYS */;
INSERT INTO `role` VALUES (1,'ADMIN','ROLE_ADMIN'),(2,'Developer','ROLE_Developer'),(3,'USER','ROLE_USER'),(5,'DEVEOPS','ROLE_DEVEOPS');
/*!40000 ALTER TABLE `role` ENABLE KEYS */;
/*!40000 ALTER TABLE `sec_menu_det` DISABLE KEYS */;
INSERT INTO `sec_menu_det` VALUES (1116,'2023-01-25 10:25:50','2023-01-25 10:25:50',3000,'security','lock',0,'Security','sec3000','Enable'),(1117,'2023-01-25 10:42:02','2023-02-04 15:34:25',3010,'usermaintance',NULL,1116,'User Maintance','U1000','Enable'),(1118,'2023-01-25 11:12:27','2023-02-04 15:34:36',3020,'usergrpmaintance',NULL,1116,'User Group Maintance','U2000','Enable'),(1523,'2023-02-04 11:15:57','2023-02-04 15:34:45',3030,'menumaintance',NULL,1116,'Menu Maintance','M3000','Enable'),(1524,'2023-02-04 11:16:52','2023-02-04 15:34:54',3040,'menuaccess',NULL,1116,'Menu Access Control','MA4000','Enable'),(1525,'2023-02-04 11:17:31','2023-02-04 15:35:06',3050,'systemparameters',NULL,1116,'System Parameters','SP5000','Enable'),(1526,'2023-02-04 11:18:04','2023-02-04 15:35:14',3060,'accesstype',NULL,1116,'Access Type','A6000','Enable'),(1528,'2023-02-04 13:31:48','2023-02-04 15:33:02',1010,'incident-new',NULL,1527,'Incident','I1000','Enable'),(1529,'2023-02-04 13:33:03','2023-02-04 15:33:12',1020,'incident-overview',NULL,1527,'Overview','O2000','Enable'),(1530,'2023-02-04 13:34:42','2023-02-04 15:33:21',1030,'sureboard2',NULL,1527,'Issueboard','I3000','Enable'),(1531,'2023-02-04 13:35:27','2023-02-04 15:33:36',1040,'change-request',NULL,1527,'Change Request','C4000','Enable'),(1532,'2023-02-04 13:36:01','2023-02-10 02:25:13',1050,'problem-creation',NULL,1527,'Problem Request','P5000','Enable'),(1534,'2023-02-04 13:56:22','2023-02-04 15:34:07',2010,'Sr_priority2_t',NULL,1533,'Priority','P1000','Enable'),(1535,'2023-02-04 17:12:27','2023-02-04 17:12:27',2020,'Sr_urgency_t',NULL,1533,'Urgency','Su2000','Enable'),(1536,'2023-02-04 17:13:22','2023-02-04 17:13:22',2030,'Sr_impact2_t',NULL,1533,'Impact','Sm3000','Enable'),(1537,'2023-02-04 17:14:01','2023-02-04 17:14:01',2040,'Sr_category2_t',NULL,1533,'Category','Sc4000','Enable'),(1538,'2023-02-04 17:14:31','2023-02-04 17:14:31',2050,'Sr_State_t',NULL,1533,'State','S5000','Enable'),(1539,'2023-02-04 17:15:12','2023-02-09 13:25:27',2070,'Sr_customer_t',NULL,1533,'Customer','c7000','Enable'),(1540,'2023-02-04 17:16:23','2023-02-14 13:15:27',2060,'Sr_Contact_type_t',NULL,1533,'Contact','C6000','Enable'),(1541,'2023-02-04 17:17:22','2023-02-04 17:17:22',2080,'Sr_handler_t',NULL,1533,'Handler','H8000','Enable'),(1543,'2023-02-08 15:07:14','2023-03-01 05:51:41',4010,'sequence',NULL,1542,'Define Sequence','SE1000','Enable'),(1544,'2023-02-16 10:14:33','2023-02-16 10:14:33',4020,'bugtracker',NULL,1542,'Bug Tracker','B1000','Enable'),(1545,'2023-02-16 11:00:25','2023-02-16 11:00:25',4030,'datamanagemennt',NULL,1542,'Data Management','M3000','Enable'),(1550,'2023-03-01 06:10:35','2023-03-01 06:10:35',2090,'projects',NULL,1533,'Projects','P2000','Enable'),(1551,'2023-03-01 07:14:27','2023-03-01 07:14:27',4040,'applysequence',NULL,1542,'Apply Sequence','As3000','Enable'),(1552,'2023-06-05 14:14:21','2023-06-05 14:14:21',2000,'dash','dashboard',0,'dashboard','dashboard','Enable'),(1553,'2023-06-05 14:16:48','2023-06-17 03:53:20',1000,'DashboardTesting',NULL,1552,'dashboard1','dashboard','Enable'),(1554,'2023-06-11 10:55:12','2023-06-11 10:55:12',2000,'Dashtest',NULL,1552,'das2','2000','Enable'),(1555,'2023-10-10 12:50:55','2024-01-19 14:33:06',1000,'project','flag',0,'project','project','Enable'),(1556,'2023-10-11 11:03:39','2023-10-11 11:03:39',4000,'superadmin','King',0,'Super Admin','Super Admin','Enable'),(1557,'2023-10-11 11:04:17','2023-10-11 11:04:17',4100,'extension',NULL,1556,'Code Extension','CodeExtension','Enable'),(1558,'2023-10-25 16:31:26','2023-10-25 16:31:26',5000,'test','tools',0,'Vault','Vault','Enable'),(1559,'2023-10-25 16:32:18','2023-10-25 16:32:18',5001,'Access_Point',NULL,1558,'Access Point','Access Point','Enable'),(1560,'2023-10-25 17:34:39','2023-10-25 17:34:39',6000,'crm','employee-group',0,'CRM','crm','Enable'),(1561,'2023-10-25 17:35:21','2023-10-25 17:35:21',6001,'Calls',NULL,1560,'Calls','Calls','Enable'),(1562,'2023-10-25 17:35:43','2023-10-25 17:35:43',6002,'Campaign',NULL,1560,'Campaign','Campaign','Enable'),(1563,'2023-10-25 17:35:57','2023-10-25 17:
/*!40000 ALTER TABLE `sec_menu_det` ENABLE KEYS */;
/*!40000 ALTER TABLE `sec_user_group` DISABLE KEYS */;
INSERT INTO `sec_user_group` VALUES (1,NULL,NULL,'add',30,'sysadmin','E',NULL,'2023-03-01 05:54:10'),(41,NULL,'2023-02-28 13:05:54','check',20,'users','Disable',NULL,'2023-02-28 13:30:14');
/*!40000 ALTER TABLE `sec_user_group` ENABLE KEYS */;
DROP TABLE IF EXISTS `sec_user_group_id`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sec_user_group_id` (
`next_val` bigint DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `sec_user_group_id` DISABLE KEYS */;
INSERT INTO `sec_user_group_id` VALUES (59),(59),(40),(40),(40),(40),(40),(40);
/*!40000 ALTER TABLE `sec_user_group_id` ENABLE KEYS */;
/*!40000 ALTER TABLE `sys_accounts` DISABLE KEYS */;
INSERT INTO `sys_accounts` VALUES (1,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `sys_accounts` ENABLE KEYS */;
/*!40000 ALTER TABLE `sec_users` DISABLE KEYS */;
INSERT INTO `sec_users` (`user_id`, `is_complete`, `about`, `accesstype`, `active`, `change_passw`, `checknumber`, `country`, `createby`, `createdate`, `customer_id`, `days_mth`, `dep_string`, `email`, `expiry_date`, `first_login`, `full_name`, `is_blocked`, `lang_code`, `last_pwd_changed_date`, `mob_no`, `no_days_mth`, `notification`, `password1`, `password2`, `password3`, `password4`, `photo`, `photo_name`, `provider`, `pwd_changed_cnt`, `random_no`, `short_name`, `status`, `title`, `updateby`, `updatedate`, `user_passw`, `user_name`, `usr_grp_id`, `working`, `account_id`, `department_code`, `position_code`, `usr_grp`) VALUES (10007307, true, NULL, NULL, true, 'test3', NULL, NULL, NULL, '2024-09-03 19:32:38', NULL, NULL, NULL, 'sysadmin', NULL, NULL, 'sysadmin', false, NULL, '2024-09-03 19:32:38', '1234567890', NULL, NULL, 'admin123', NULL, NULL, NULL, NULL, NULL, NULL, 7, NULL, NULL, NULL, NULL, NULL, NULL, '$2b$10$8iFnL/cKTTmclSD1BZh8UeP0ZKKEzZ2hbTsrRcgy3kMinDRdxN7xe', 'sysadmin', NULL, NULL, 1, NULL, NULL, 1);
/*!40000 ALTER TABLE `sec_users` ENABLE KEYS */;
DROP TABLE IF EXISTS `sec_user_sessions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sec_user_sessions` (
`client_ip` varchar(255) NOT NULL,
`session_id` varchar(255) NOT NULL,
`user_id` bigint NOT NULL,
`last_access_date` datetime DEFAULT NULL,
`logintime` datetime DEFAULT NULL,
`logouttime` datetime DEFAULT NULL,
`macid` varchar(255) DEFAULT NULL,
PRIMARY KEY (`client_ip`,`session_id`,`user_id`),
KEY `FKp9jm02b501ugvjvfhas5sskfq` (`user_id`),
CONSTRAINT `FKp9jm02b501ugvjvfhas5sskfq` FOREIGN KEY (`user_id`) REFERENCES `sec_users` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `sec_user_sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `sec_user_sessions` ENABLE KEYS */;
DROP TABLE IF EXISTS `sec_grp_menu_access`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sec_grp_menu_access` (
`menu_item_id` bigint NOT NULL,
`usr_grp` bigint NOT NULL,
`createby` varchar(255) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`isdisable` varchar(255) DEFAULT NULL,
`item_seq` bigint DEFAULT NULL,
`m_create` varchar(255) DEFAULT NULL,
`m_delete` varchar(255) DEFAULT NULL,
`m_edit` varchar(255) DEFAULT NULL,
`m_query` varchar(255) DEFAULT NULL,
`m_visible` varchar(255) DEFAULT NULL,
`main_menu_action_name` varchar(255) DEFAULT NULL,
`main_menu_icon_name` varchar(255) DEFAULT NULL,
`menu_id` bigint DEFAULT NULL,
`menu_item_desc` varchar(255) DEFAULT NULL,
`mexport` varchar(255) DEFAULT NULL,
`module_name` varchar(255) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`updateby` varchar(255) DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
PRIMARY KEY (`menu_item_id`,`usr_grp`),
KEY `FKtj8mtsrhc4m4acbrvjnnyvglm` (`usr_grp`),
CONSTRAINT `FKmkev6w9umgp6fg2afatibhq1x` FOREIGN KEY (`menu_item_id`) REFERENCES `sec_menu_det` (`menu_item_id`),
CONSTRAINT `FKtj8mtsrhc4m4acbrvjnnyvglm` FOREIGN KEY (`usr_grp`) REFERENCES `sec_user_group` (`usr_grp`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `sec_grp_menu_access` DISABLE KEYS */;
INSERT INTO `sec_grp_menu_access` VALUES (1116,41,NULL,'2024-01-17 18:56:05','true',3000,'true','true','true','true','true','security','lock',0,'Security','true','sec3000','Enable',NULL,'2024-01-17 18:56:05'),(1117,41,NULL,'2024-01-17 18:56:07','true',3010,'true','true','true','true','true','usermaintance',NULL,1116,'User Maintance','true','U1000','Enable',NULL,'2024-01-17 18:56:07'),(1118,41,NULL,'2024-01-17 18:56:11','true',3020,'true','true','true','true','true','usergrpmaintance',NULL,1116,'User Group Maintance','true','U2000','Enable',NULL,'2024-01-17 18:56:11'),(1523,41,NULL,'2024-01-17 18:56:14','true',3030,'true','true','true','true','true','menumaintance',NULL,1116,'Menu Maintance','true','M3000','Enable',NULL,'2024-01-17 18:56:14'),(1524,41,NULL,'2024-01-17 18:56:16','true',3040,'true','true','true','true','true','menuaccess',NULL,1116,'Menu Access Control','true','MA4000','Enable',NULL,'2024-01-17 18:56:16'),(1525,41,NULL,'2024-01-17 18:56:18','true',3050,'true','true','true','true','true','systemparameters',NULL,1116,'System Parameters','true','SP5000','Enable',NULL,'2024-01-17 18:56:18'),(1526,41,NULL,'2024-01-17 18:56:19','true',3060,'true','true','true','true','true','accesstype',NULL,1116,'Access Type','true','A6000','Enable',NULL,'2024-01-17 18:56:19'),(1572,41,NULL,'2024-01-17 18:56:21','true',4000,'true','true','true','true','true','SequenceGenerator',NULL,1116,'Document Sequence','true','Document Sequrnce','Enable',NULL,'2024-01-17 18:56:21'),(1577,1,NULL,'2024-01-27 15:40:46','true',7000,'true','true','true','true','true','Transactions','King',0,'Transactions','true','Transactions','Enable',NULL,'2024-01-27 15:40:46'),(1601,1,NULL,'2024-03-20 20:06:50','true',9000,'true','true','true','true','true','Masters','data-cluster',0,'Masters','true','Masters','Enable',NULL,'2024-03-20 20:06:50');
/*!40000 ALTER TABLE `sec_grp_menu_access` ENABLE KEYS */;
DROP TABLE IF EXISTS `sec_users_sequencs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sec_users_sequencs` (
`next_val` bigint DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `sec_users_sequencs` DISABLE KEYS */;
INSERT INTO `sec_users_sequencs` VALUES (10007321),(10007300),(10007300),(10007300),(10007300),(10007300),(10007300),(10007300);
/*!40000 ALTER TABLE `sec_users_sequencs` ENABLE KEYS */;
DROP TABLE IF EXISTS `sec_workspace`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sec_workspace` (
`id` int NOT NULL AUTO_INCREMENT,
`account_id` bigint DEFAULT NULL,
`created_at` datetime NOT NULL,
`created_by` bigint DEFAULT NULL,
`updated_at` datetime NOT NULL,
`updated_by` bigint DEFAULT NULL,
`is_active` varchar(255) DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
`is_default` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`owner_id` varchar(255) DEFAULT NULL,
`project_id` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `sec_workspace_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sec_workspace_users` (
`id` bigint NOT NULL AUTO_INCREMENT,
`account_id` bigint DEFAULT NULL,
`created_at` datetime NOT NULL,
`created_by` bigint DEFAULT NULL,
`updated_at` datetime NOT NULL,
`updated_by` bigint DEFAULT NULL,
`project_id` int DEFAULT NULL,
`user_id` bigint DEFAULT NULL,
`user_name` varchar(255) DEFAULT NULL,
`user_role` varchar(255) DEFAULT NULL,
`worksapce_id` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `secuser_roles` DISABLE KEYS */;
INSERT INTO `secuser_roles` VALUES (10007307,1);
/*!40000 ALTER TABLE `secuser_roles` ENABLE KEYS */;
DROP TABLE IF EXISTS `sys_accounts_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_accounts_users` (
`sys_accounts_id` bigint NOT NULL,
`users_user_id` bigint NOT NULL,
UNIQUE KEY `UK_8dxppqkque5ehofdy83bntgks` (`users_user_id`),
KEY `FKs9o1t4hyiyq2y330p0d2evf2a` (`sys_accounts_id`),
CONSTRAINT `FKdkc60wy8v55ylspegueinngjx` FOREIGN KEY (`users_user_id`) REFERENCES `sec_users` (`user_id`),
CONSTRAINT `FKs9o1t4hyiyq2y330p0d2evf2a` FOREIGN KEY (`sys_accounts_id`) REFERENCES `sys_accounts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `sys_accounts_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `sys_accounts_users` ENABLE KEYS */;
DROP TABLE IF EXISTS `user_list`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_list` (
`id` bigint NOT NULL,
`about` varchar(255) DEFAULT NULL,
`account_id` varchar(255) DEFAULT NULL,
`address1` varchar(255) DEFAULT NULL,
`address2` varchar(255) DEFAULT NULL,
`checknumber` varchar(255) DEFAULT NULL,
`company` varchar(255) DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`created_at` varchar(255) DEFAULT NULL,
`created_by` varchar(255) DEFAULT NULL,
`default_customer_id` varchar(255) DEFAULT NULL,
`department` varchar(255) DEFAULT NULL,
`dob` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`enable_beta_testing` bit(1) NOT NULL,
`enable_renewal` bit(1) NOT NULL,
`firstname` varchar(255) DEFAULT NULL,
`fullname` varchar(255) DEFAULT NULL,
`gender` varchar(255) DEFAULT NULL,
`is_active` bit(1) NOT NULL,
`is_blocked` bit(1) NOT NULL,
`lastname` varchar(255) DEFAULT NULL,
`managing_work` varchar(255) DEFAULT NULL,
`menu_group` int NOT NULL,
`name` varchar(255) DEFAULT NULL,
`other_roles` varchar(255) DEFAULT NULL,
`pancard` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`phone` varchar(255) DEFAULT NULL,
`photos` varchar(255) DEFAULT NULL,
`postal` varchar(255) DEFAULT NULL,
`role` varchar(255) DEFAULT NULL,
`secret_answer` varchar(255) DEFAULT NULL,
`secret_question` varchar(255) DEFAULT NULL,
`security_provider_id` varchar(255) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`updated_at` varchar(255) DEFAULT NULL,
`updated_by` varchar(255) DEFAULT NULL,
`user_id` varchar(255) DEFAULT NULL,
`username` varchar(255) DEFAULT NULL,
`working` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `user_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_list` ENABLE KEYS */;
DROP TABLE IF EXISTS `userloginhist`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `userloginhist` (
`create_by` varchar(255) DEFAULT NULL,
`create_date` datetime DEFAULT NULL,
`expiry_reminder` bigint DEFAULT NULL,
`last_login_date` datetime DEFAULT NULL,
`last_password_chg_date` datetime DEFAULT NULL,
`last_password_fail_no` bigint DEFAULT NULL,
`update_by` varchar(255) DEFAULT NULL,
`update_date` datetime DEFAULT NULL,
`user_id` bigint NOT NULL,
PRIMARY KEY (`user_id`),
CONSTRAINT `FK2a2xifc15js82mjl20honhdfr` FOREIGN KEY (`user_id`) REFERENCES `sec_users` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `userpasswlog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `userpasswlog` (
`create_date` datetime NOT NULL,
`user_id` bigint NOT NULL,
`user_passw` varchar(255) NOT NULL,
`create_by` varchar(255) DEFAULT NULL,
`update_by` varchar(255) DEFAULT NULL,
`update_date` datetime DEFAULT NULL,
PRIMARY KEY (`create_date`,`user_id`,`user_passw`),
KEY `FKpd759n25auh4bw5ri0xikikia` (`user_id`),
CONSTRAINT `FKpd759n25auh4bw5ri0xikikia` FOREIGN KEY (`user_id`) REFERENCES `sec_users` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `userpasswlog` DISABLE KEYS */;
/*!40000 ALTER TABLE `userpasswlog` ENABLE KEYS */;
DROP TABLE IF EXISTS `dashboard`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dashboard` (
`id` int NOT NULL AUTO_INCREMENT,
`account_id` bigint DEFAULT NULL,
`created_at` datetime NOT NULL,
`created_by` bigint DEFAULT NULL,
`updated_at` datetime NOT NULL,
`updated_by` bigint DEFAULT NULL,
`extn1` varchar(255) DEFAULT NULL,
`extn10` varchar(255) DEFAULT NULL,
`extn11` varchar(255) DEFAULT NULL,
`extn12` varchar(255) DEFAULT NULL,
`extn13` varchar(255) DEFAULT NULL,
`extn14` varchar(255) DEFAULT NULL,
`extn15` varchar(255) DEFAULT NULL,
`extn2` varchar(255) DEFAULT NULL,
`extn3` varchar(255) DEFAULT NULL,
`extn4` varchar(255) DEFAULT NULL,
`extn5` varchar(255) DEFAULT NULL,
`extn6` varchar(255) DEFAULT NULL,
`extn7` varchar(255) DEFAULT NULL,
`extn8` varchar(255) DEFAULT NULL,
`extn9` varchar(255) DEFAULT NULL,
`isdashboard` bit(1) NOT NULL,
`model` varchar(5000) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `dashboard` DISABLE KEYS */;
INSERT INTO `dashboard` VALUES (1,NULL,'2023-12-04 12:11:04',NULL,'2023-12-04 13:05:56',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,_binary '','[{\"charttitle\":\"index1\",\"type\":\"Index\",\"cols\":5,\"rows\":5,\"x\":0,\"y\":0,\"chartid\":3,\"component\":\"Index\",\"name\":\"Index\",\"slices\":false,\"donut\":false,\"chartcolor\":false,\"chartlegend\":false,\"showlabel\":false,\"Read Only\":false,\"selectedIcon\":\"IconData(U+0EE2A)\",\"charturl\":\"\",\"chartparameter\":\"\",\"datasource\":\"Default\"},{\"charttitle\":\"Index2\",\"type\":\"Index\",\"cols\":5,\"rows\":5,\"x\":0,\"y\":0,\"chartid\":4,\"component\":\"Index\",\"name\":\"Index\"},{\"charttitle\":\"Index3\",\"type\":\"Index\",\"cols\":5,\"rows\":5,\"x\":0,\"y\":0,\"chartid\":5,\"component\":\"Index\",\"name\":\"Index\"},{\"charttitle\":\"Doughnut Chart\",\"type\":\"Doughnut Chart\",\"cols\":5,\"rows\":5,\"x\":0,\"y\":0,\"chartid\":6,\"component\":\"Doughnut Chart\",\"name\":\"Doughnut Chart\",\"slices\":false,\"donut\":false,\"chartcolor\":false,\"chartlegend\":false,\"showlabel\":false,\"Read Only\":false,\"charturl\":\"http://43.205.154.152:30179/entityBuilder/Gaurav_testing/3\",\"chartparameter\":\"\",\"datasource\":\"Default\",\"selectedIcon\":\"IconData(U+0EE29)\"},{\"cols\": 4, \"rows\": 5, \"x\": 0, \"y\": 0, \"chartid\": 1, \"name\": \"Line Chart\", \"fieldName\": null, \"showlabel\": true, \"chartcolor\": null, \"chartlegend\": true, \"charturl\": \"http://43.205.154.152:30179/entityBuilder/Gaurav_testing\",\"xAxis\": \"name\",\"donut\": null, \"chartparameter\": null, \"datastore\": null,\"datasource\": null,\"id\": null,\"slices\": null,\"yAxis\": [\"pincode\"],\"charttitle\": \"Live Details\"}]','myfirstdashboard');
/*!40000 ALTER TABLE `dashboard` ENABLE KEYS */;
DROP TABLE IF EXISTS `dashboard_builder_t`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dashboard_builder_t` (
`id` bigint NOT NULL AUTO_INCREMENT,
`dashboardname` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `dashboard_builder_t` DISABLE KEYS */;
/*!40000 ALTER TABLE `dashboard_builder_t` ENABLE KEYS */;
DROP TABLE IF EXISTS `dashboard_schedule_t`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dashboard_schedule_t` (
`id` bigint NOT NULL AUTO_INCREMENT,
`attachment` varchar(255) DEFAULT NULL,
`cc` varchar(255) DEFAULT NULL,
`cron` varchar(255) DEFAULT NULL,
`end_time` datetime DEFAULT NULL,
`every` varchar(255) DEFAULT NULL,
`gateway` varchar(255) DEFAULT NULL,
`gatewaydone` varchar(255) DEFAULT NULL,
`replacement_string` varchar(255) DEFAULT NULL,
`send_to` varchar(255) DEFAULT NULL,
`start_time` datetime DEFAULT NULL,
`template` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `dashboard_schedule_t` DISABLE KEYS */;
/*!40000 ALTER TABLE `dashboard_schedule_t` ENABLE KEYS */;
DROP TABLE IF EXISTS `dashboardaxis`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dashboardaxis` (
`id` bigint NOT NULL AUTO_INCREMENT,
`april` varchar(255) DEFAULT NULL,
`feb` varchar(255) DEFAULT NULL,
`jan` varchar(255) DEFAULT NULL,
`march` varchar(255) DEFAULT NULL,
`may` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `dashboardaxis` DISABLE KEYS */;
INSERT INTO `dashboardaxis` VALUES (1,'5','10','25','3',NULL),(3,'5000','15000','10000','30000',NULL),(4,'5000','15000','10000','30000',NULL),(5,'5000','15000','5','30000',NULL),(6,'5000','15000','10000','30000','2000'),(7,'23','20','25','30','20'),(8,'23','20','25','30','99'),(9,'23','20','25','30','20');
/*!40000 ALTER TABLE `dashboardaxis` ENABLE KEYS */;
/*!40000 ALTER TABLE `system_paramaters` DISABLE KEYS */;
INSERT INTO `system_paramaters` VALUES (1,'test1',0,NULL,NULL,NULL,0,NULL,NULL,NULL,0,_binary '',NULL,0,0,0,NULL,NULL,NULL,0,NULL,0,0,0,NULL,NULL,NULL,NULL,0,0);
/*!40000 ALTER TABLE `system_paramaters` ENABLE KEYS */;
DROP TABLE IF EXISTS `sys_param_upload`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_param_upload` (
`attachment_id` int NOT NULL,
`attachment` longblob,
`attachment_filename` varchar(255) DEFAULT NULL,
`attachment_type` varchar(255) DEFAULT NULL,
`cancel_status` varchar(255) NOT NULL,
`external_flag` varchar(255) DEFAULT NULL,
`updated_by` varchar(255) DEFAULT NULL,
`sys_param_entity_id` int DEFAULT NULL,
PRIMARY KEY (`attachment_id`),
KEY `FKl1h7bcgpr1y10ydiqw849vq99` (`sys_param_entity_id`),
CONSTRAINT `FKl1h7bcgpr1y10ydiqw849vq99` FOREIGN KEY (`sys_param_entity_id`) REFERENCES `system_paramaters` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `sys_param_upload` DISABLE KEYS */;
/*!40000 ALTER TABLE `sys_param_upload` ENABLE KEYS */;
-- Dump completed on 2024-01-27 15:45:01