prod20aug/prod20aug-db-d/authsec_mysql/mysql/loginandmenu.sql

570 lines
118 KiB
MySQL
Raw Normal View History

2024-08-20 03:57:33 +00:00
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 */;
--
-- Dumping data for table `app_user_log`
--
LOCK TABLES `app_user_log` WRITE;
/*!40000 ALTER TABLE `app_user_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `app_user_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `password_reset_token`
--
DROP TABLE IF EXISTS `password_reset_token`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `password_reset_token` (
`id` bigint NOT NULL,
`expiry_date` datetime DEFAULT NULL,
`token` varchar(255) DEFAULT NULL,
`user_user_id` bigint DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK4rtktv88xrvfli5jx9yst5arn` (`user_user_id`),
CONSTRAINT `FK4rtktv88xrvfli5jx9yst5arn` FOREIGN KEY (`user_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 */;
--
-- Dumping data for table `password_reset_token`
--
LOCK TABLES `password_reset_token` WRITE;
/*!40000 ALTER TABLE `password_reset_token` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_reset_token` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `role`
--
DROP TABLE IF EXISTS `role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `role` (
`id` bigint NOT NULL AUTO_INCREMENT,
`description` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `role`
--
LOCK TABLES `role` WRITE;
/*!40000 ALTER TABLE `role` DISABLE KEYS */;
INSERT INTO `role` VALUES (1,NULL,'ROLE_Developer'),(2,'web','web developer'),(3,'front','frontend developer'),(4,'back','backend developer'),(5,'dev','devops ');
/*!40000 ALTER TABLE `role` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sec_grp_menu_access`
--
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 */;
--
-- Dumping data for table `sec_grp_menu_access`
--
LOCK TABLES `sec_grp_menu_access` WRITE;
/*!40000 ALTER TABLE `sec_grp_menu_access` DISABLE KEYS */;
INSERT INTO `sec_grp_menu_access` VALUES (1116,1,NULL,'2023-02-04 17:32:03','true',3000,'true','true','true','true','true','security','lock',0,'Security','true','sec3000','Enable',NULL,'2023-02-04 17:32:03'),(1117,1,NULL,'2023-02-04 17:32:03','true',3010,'true','true','true','true','true','usermaintance',NULL,1116,'User Maintance','true','U1000','Enable',NULL,'2023-02-04 17:32:03'),(1118,1,NULL,'2023-02-04 17:32:04','true',3020,'true','true','true','true','true','usergrpmaintance',NULL,1116,'User Group Maintance','true','U2000','Enable',NULL,'2023-02-04 17:32:04'),(1523,1,NULL,'2023-02-04 17:32:04','true',3030,'true','true','true','true','true','menumaintance',NULL,1116,'Menu Maintance','true','M3000','Enable',NULL,'2023-02-04 17:32:04'),(1524,1,NULL,'2023-02-04 17:32:04','true',3040,'true','true','true','true','true','menuaccess',NULL,1116,'Menu Access Control','true','MA4000','Enable',NULL,'2023-02-04 17:32:04'),(1525,1,NULL,'2023-02-04 17:32:04','true',3050,'true','true','true','true','true','systemparameters',NULL,1116,'System Parameters','true','SP5000','Enable',NULL,'2023-02-04 17:32:04'),(1526,1,NULL,'2023-02-04 17:32:04','true',3060,'true','true','true','true','true','accesstype',NULL,1116,'Access Type','true','A6000','Enable',NULL,'2023-02-04 17:32:04'),(1527,1,NULL,'2023-02-10 10:07:57','true',1000,'true','true','true','true','true','incidents','incident',0,'Incidents','true','I1000','Enable',NULL,'2023-02-10 10:07:57'),(1527,41,NULL,'2023-04-18 15:51:51','true',1000,'true','true','true','true','true','incidents','incident',0,'Incidents','true','I1000','Enable',NULL,'2023-04-18 15:51:51'),(1528,1,NULL,'2023-02-10 10:07:58','true',1010,'true','true','true','true','true','incident-new',NULL,1527,'Incident','true','I1000','Enable',NULL,'2023-02-10 10:07:58'),(1528,41,NULL,'2023-04-18 15:51:55','true',1010,'true','true','true','true','true','incident-new',NULL,1527,'Incident','true','I1000','Enable',NULL,'2023-04-18 15:51:55'),(1529,1,NULL,'2023-02-10 10:07:59','true',1020,'true','true','true','true','true','incident-overview',NULL,1527,'Overview','true','O2000','Enable',NULL,'2023-02-10 10:07:59'),(1529,41,NULL,'2023-04-18 15:51:57','true',1020,'true','true','true','true','true','incident-overview',NULL,1527,'Overview','true','O2000','Enable',NULL,'2023-04-18 15:51:57'),(1530,1,NULL,'2023-02-10 10:07:59','true',1030,'true','true','true','true','true','sureboard2',NULL,1527,'Issueboard','true','I3000','Enable',NULL,'2023-02-10 10:07:59'),(1530,41,NULL,'2023-04-18 15:52:00','true',1030,'true','true','true','true','true','sureboard2',NULL,1527,'Issueboard','true','I3000','Enable',NULL,'2023-04-18 15:52:00'),(1531,1,NULL,'2023-02-10 10:07:59','true',1040,'true','true','true','true','true','change-request',NULL,1527,'Change Request','true','C4000','Enable',NULL,'2023-02-10 10:07:59'),(1531,41,NULL,'2023-04-18 15:52:03','true',1040,'true','true','true','true','true','change-request',NULL,1527,'Change Request','true','C4000','Enable',NULL,'2023-04-18 15:52:03'),(1532,1,NULL,'2023-02-10 10:07:59','true',1050,'true','true','true','true','true','problem-creation',NULL,1527,'Problem Request','true','P5000','Enable',NULL,'2023-02-10 10:07:59'),(1532,41,NULL,'2023-04-18 15:52:07','true',1050,'true','true','true','true','true','problem-creation',NULL,1527,'Problem Request','true','P5000','Enable',NULL,'2023-04-18 15:52:07'),(1533,1,NULL,'2023-03-01 06:11:23','true',2000,'true','true','true','true','true','master','users',0,'Masters','true','M2000','Enable',NULL,'2023-03-01 06:11:23'),(1534,1,NULL,'2023-03-01 06:11:23','true',2010,'true','true','true','true','true','Sr_priority2_t',NULL,1533,'Priority','true','P1000','Enable',NULL,'2023-03-01 06:11:23'),(1535,1,NULL,'2023-03-01 06:11:23','true',2020,'true','true','true','true','true','Sr_urgency_t',NULL,1533,'Urgency','true','Su2000','Enable',NULL,'2023-03-01 06:11:23'),(1536,1,NULL,'2023-03-01 06:11:23','true',2030,'true','true','true','true','true','Sr_impact2_t',NULL,1533,'Impact','true','Sm3000','Enable',NULL,'2023-03-01 06:11:23'),(1537,1,NULL,'2023-03-01 06:11:23','true',
/*!40000 ALTER TABLE `sec_grp_menu_access` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sec_menu_det`
--
DROP TABLE IF EXISTS `sec_menu_det`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sec_menu_det` (
`menu_item_id` bigint NOT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`item_seq` bigint 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,
`module_name` varchar(255) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
PRIMARY KEY (`menu_item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sec_menu_det`
--
LOCK TABLES `sec_menu_det` WRITE;
/*!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'),(1527,'2023-02-04 13:25:11','2023-02-04 13:25:11',1000,'incidents','incident',0,'Incidents','I1000','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'),(1533,'2023-02-04 13:55:32','2023-02-04 13:55:32',2000,'master','users',0,'Masters','M2000','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'),(1542,'2023-02-08 15:06:20','2023-02-08 15:06:20',4000,'admin','user',0,'Admin','se4000','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'),(1553,'2023-04-18 14:12:24','2023-04-18 14:12:56',5000,'T1',NULL,1542,'T1','T1','Enable');
/*!40000 ALTER TABLE `sec_menu_det` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sec_type`
--
DROP TABLE IF EXISTS `sec_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sec_type` (
`id` int NOT NULL,
`description` varchar(255) DEFAULT NULL,
`name` 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 */;
--
-- Dumping data for table `sec_type`
--
LOCK TABLES `sec_type` WRITE;
/*!40000 ALTER TABLE `sec_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `sec_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sec_user_group`
--
DROP TABLE IF EXISTS `sec_user_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sec_user_group` (
`usr_grp` bigint NOT NULL,
`createby` varchar(255) DEFAULT NULL,
`createdate` datetime DEFAULT NULL,
`group_desc` varchar(255) DEFAULT NULL,
`group_level` bigint DEFAULT NULL,
`group_name` varchar(255) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`updateby` varchar(255) DEFAULT NULL,
`updatedate` datetime DEFAULT NULL,
PRIMARY KEY (`usr_grp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sec_user_group`
--
LOCK TABLES `sec_user_group` WRITE;
/*!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 */;
UNLOCK TABLES;
--
-- Table structure for table `sec_user_group_id`
--
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 */;
--
-- Dumping data for table `sec_user_group_id`
--
LOCK TABLES `sec_user_group_id` WRITE;
/*!40000 ALTER TABLE `sec_user_group_id` DISABLE KEYS */;
INSERT INTO `sec_user_group_id` VALUES (59),(59),(40),(40),(40),(40);
/*!40000 ALTER TABLE `sec_user_group_id` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sec_user_sessions`
--
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,
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 */;
--
-- Dumping data for table `sec_user_sessions`
--
LOCK TABLES `sec_user_sessions` WRITE;
/*!40000 ALTER TABLE `sec_user_sessions` DISABLE KEYS */;
INSERT INTO `sec_user_sessions` VALUES ('10.244.0.0','00DA27B83BD05496302A6FE89196D35D',10007304,'2023-02-09 04:16:22'),('10.244.0.0','01C6D31F93F0EB2008755455951BFCE3',10007304,'2023-02-09 04:24:40'),('10.244.0.0','01F3C40A4E4F679427F1A77E6CCA96BD',10007304,'2023-01-23 09:22:51'),('10.244.0.0','07955ABB453B8F78E48098ACB2CCA3B4',10007304,'2023-01-07 05:18:31'),('10.244.0.0','07FC7AA4A44DAF847DACD2ADF00E21D0',10007304,'2023-03-02 07:02:35'),('10.244.0.0','097910BB627E1B076F5EB532B6DF56F6',10007304,'2023-02-20 07:15:09'),('10.244.0.0','09A12677690FCDD1DFE3AE75B357D5FA',10007304,'2023-01-27 12:59:00'),('10.244.0.0','0B30FE6A7E3EC275FB942EF1AC77959C',10007304,'2023-02-27 04:31:59'),('10.244.0.0','0DBA11EAE43B527CFF0B2C8714E6FCBC',10007304,'2023-02-27 05:18:07'),('10.244.0.0','0E0DD3C09635D1512642C6A8DC777399',10007304,'2023-01-04 07:26:44'),('10.244.0.0','12634E52F1A03951CF7F714CA2CD35D0',10007304,'2022-12-22 12:47:54'),('10.244.0.0','126D331BC32A0B05D4E98809A69F1129',10007304,'2023-01-21 05:54:12'),('10.244.0.0','13267C7653BF669807FCC1553A250FCA',10007304,'2023-01-21 10:58:45'),('10.244.0.0','13791D67042F4E6D5D108828C313E4E2',10007304,'2023-02-03 06:43:41'),('10.244.0.0','14B7F54DD7D935EBBA23729BFF12D944',10007304,'2023-01-25 06:57:06'),('10.244.0.0','15718FEAD0B1C125C216D29DEB4BF59D',10007304,'2023-02-28 10:02:33'),('10.244.0.0','17187D32D460241B4B16E38281CD2663',10007304,'2023-02-04 11:08:48'),('10.244.0.0','18A08D81FE506EE81AF4C94CB30A6D3A',10007304,'2023-02-21 05:27:55'),('10.244.0.0','19C65A7A787E9D9A9087261B8A2DEFDE',10007304,'2023-02-16 05:11:11'),('10.244.0.0','1A5FC0C4AA02AF7AF3404165F1A93985',10007304,'2023-01-03 12:02:01'),('10.244.0.0','1CABFE5D7BB047B750A74A9C74F5CB44',10007304,'2023-01-25 07:01:51'),('10.244.0.0','1D02DCEA4AA242C714EC71F70741C07E',10007304,'2023-02-21 04:56:28'),('10.244.0.0','1D6B0DB624E86D9FD70507F6189569AD',10007304,'2023-02-21 05:32:41'),('10.244.0.0','1E328CEE4E5A777173F8A432AA25364F',10007304,'2023-02-14 10:51:58'),('10.244.0.0','1E3E9C55C6C6D5AAC309E13C30B958C5',10007304,'2022-12-24 13:19:10'),('10.244.0.0','1E4F2D8802BDFABCF9D3B41AB1BF3D8E',10007304,'2023-03-02 10:14:13'),('10.244.0.0','1EDADDB590C0C98FFB9362ACAFDD0EC8',10007304,'2023-02-28 08:28:39'),('10.244.0.0','1EE6204F652E211A35B560813E1AFDF5',10007304,'2023-02-13 05:38:28'),('10.244.0.0','1F4809657FAC225E67C10488887FF026',10007304,'2023-01-25 08:42:39'),('10.244.0.0','212824F8CFE4C79EEC23414DD60BDB1A',10007304,'2023-02-04 11:07:49'),('10.244.0.0','2285C8A80B97A9CEB33BA0E83AAE7CDE',10007304,'2023-02-28 05:39:09'),('10.244.0.0','23D17570F776EBE86B3E28ED24A2E2F0',10007304,'2022-12-22 05:37:54'),('10.244.0.0','258BC76ACED65982DB38FFA3E5607665',10007304,'2023-01-27 04:23:24'),('10.244.0.0','26A0AC8653F477F1A82841DFFAD45E60',10007304,'2023-02-08 04:41:02'),('10.244.0.0','272AA522FF452893D3469597326AFA21',10007304,'2023-02-11 10:57:48'),('10.244.0.0','279523463C4F47198956861731BE1886',10007304,'2023-03-02 07:17:25'),('10.244.0.0','2A500041815A443624570903FDC1B703',10007304,'2023-01-05 11:28:15'),('10.244.0.0','2A5256B60B473E59C7F3033185D6BCFE',10007304,'2023-01-30 07:28:49'),('10.244.0.0','2BAA723E999C81FDC312C1478EE23B64',10007304,'2022-12-28 17:42:55'),('10.244.0.0','2E06BF822B35B70B869D34A2591FEA19',10007304,'2023-02-13 06:09:41'),('10.244.0.0','30D3D3F09BBB4C24FE812BE091CF28C7',10007304,'2023-02-08 13:09:58'),('10.244.0.0','33D439C74F9C34631C7C28E6712D901A',10007304,'2023-02-06 06:49:38'),('10.244.0.0','34029224A1742E10AEEEE5D8CC33594E',10007304,'2023-02-13 07:55:18'),('10.244.0.0','35F492D2BB13889531ABDDFDF0A367C3',10007304,'2022-12-24 06:14:28'),('10.244.0.0','36FB6C688F068D09D1EFB99CABE5412A',10007304,'2023-01-27 06:11:46'),('10.244.0.0','36FFDC97570687C4ECF39A89E6F11A0D',10007304,'2023-01-05 05:10:46'),('10.244.0.0','37975FDB03DDC18FE039CFF74059D971',10007304,'2023-02-13 06:20:48'),('10.244.0.0','37CDA8C88836B0A96D1D5524B5B43961',10007304,'2023-02-14 04:38:06'),('10.244.0.0','3842C1EB2E93DCEB1AF928CDCDD79AB4',10007304,'2023-02-24 04:51:48'),('10.244.0.0','3898BA12B0A677023CA6CE3E9FFCE1F8',10007304,'2023-03-02 07:17:41'),('10.2
/*!40000 ALTER TABLE `sec_user_sessions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sec_users`
--
DROP TABLE IF EXISTS `sec_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sec_users` (
`user_id` bigint NOT NULL,
`is_complete` bit(1) NOT NULL,
`about` varchar(255) DEFAULT NULL,
`access_duration` bigint DEFAULT NULL,
`change_passw` varchar(255) DEFAULT NULL,
`checknumber` bigint DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`createby` varchar(255) DEFAULT NULL,
`createdate` datetime DEFAULT NULL,
`customer_id` bigint DEFAULT NULL,
`days_mth` varchar(255) DEFAULT NULL,
`dep_string` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`expiry_date` datetime DEFAULT NULL,
`first_login` varchar(255) DEFAULT NULL,
`full_name` varchar(255) DEFAULT NULL,
`is_blocked` bit(1) NOT NULL,
`lang_code` varchar(255) DEFAULT NULL,
`last_pwd_changed_date` datetime DEFAULT NULL,
`mob_no` bigint DEFAULT NULL,
`no_days_mth` bigint DEFAULT NULL,
`notification` varchar(255) DEFAULT NULL,
`password1` varchar(255) DEFAULT NULL,
`password2` varchar(255) DEFAULT NULL,
`password3` varchar(255) DEFAULT NULL,
`password4` varchar(255) DEFAULT NULL,
`photo` longblob,
`photo_name` varchar(255) DEFAULT NULL,
`provider` varchar(255) DEFAULT NULL,
`pwd_changed_cnt` bigint DEFAULT NULL,
`random_no` varchar(255) DEFAULT NULL,
`short_name` varchar(255) DEFAULT NULL,
`status` varchar(255) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`updateby` varchar(255) DEFAULT NULL,
`updatedate` datetime DEFAULT NULL,
`user_passw` varchar(255) DEFAULT NULL,
`user_name` varchar(255) DEFAULT NULL,
`usr_grp_id` bigint DEFAULT NULL,
`working` varchar(255) DEFAULT NULL,
`account_id` bigint DEFAULT NULL,
`department_code` varchar(255) DEFAULT NULL,
`position_code` varchar(255) DEFAULT NULL,
`usr_grp` bigint DEFAULT NULL,
PRIMARY KEY (`user_id`),
UNIQUE KEY `UK_fw34bx9q2ss6bto160uppxg9t` (`user_name`),
KEY `FKs6u4j3tx3oafeuph5ou29qwd9` (`account_id`),
KEY `FK755v9w0tyoeq5v61egs6jsvv8` (`department_code`),
KEY `FKnuiei3fcu2t6k16v1dthw5bvh` (`position_code`),
KEY `FKl26vrpflaga4edp953i7c7i7` (`usr_grp`),
CONSTRAINT `FK755v9w0tyoeq5v61egs6jsvv8` FOREIGN KEY (`department_code`) REFERENCES `department` (`department_code`),
CONSTRAINT `FKl26vrpflaga4edp953i7c7i7` FOREIGN KEY (`usr_grp`) REFERENCES `sec_user_group` (`usr_grp`),
CONSTRAINT `FKnuiei3fcu2t6k16v1dthw5bvh` FOREIGN KEY (`position_code`) REFERENCES `position` (`position_code`),
CONSTRAINT `FKs6u4j3tx3oafeuph5ou29qwd9` FOREIGN KEY (`account_id`) REFERENCES `sys_accounts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sec_users`
--
LOCK TABLES `sec_users` WRITE;
/*!40000 ALTER TABLE `sec_users` DISABLE KEYS */;
INSERT INTO `sec_users` VALUES (10007304,_binary '',NULL,NULL,'test',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'admin',NULL,NULL,'admin',_binary '\0',NULL,NULL,123,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$2a$10$Z/qB46BXJC.15psWvLA6wuRsKhnDyHgHNLzOs9tlE70AnCZTjo4IW','admin123',1,NULL,1,NULL,NULL,1),(10007307,_binary '',NULL,NULL,'test3',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sysadmin',NULL,NULL,'piya khose',_binary '\0',NULL,NULL,76756765,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$2a$10$y0hwswpMqYRtlMJoNzpYBe45VDI8SQX/4K4OjzKYX9NHmN1HPZmIu','sysadmin',NULL,NULL,1,NULL,NULL,1),(10007308,_binary '',NULL,NULL,'test5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sysadmin',NULL,NULL,'siya jfhjd',_binary '\0',NULL,NULL,7654645784,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$2a$10$CBo5GAvkdD6p/rUmUDcd6uRVLEyw104hl3RJ72KfU6uDiwGZG/itu','siya@gmail.com',NULL,NULL,1,NULL,NULL,1),(10007311,_binary '',NULL,NULL,'ash1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ash@gmail.com',NULL,NULL,'ash1 ka',_binary '\0',NULL,NULL,7649345683,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$2a$10$7C48mZGQwGEtY.6UzyABA.D1CB3Tj75DChkEYhrWrLMihyfit6bLG','ash@gmail.com',NULL,NULL,1,NULL,NULL,1),(10007312,_binary '',NULL,NULL,'gaurav',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'gaurav@gmail.com',NULL,NULL,'gaurav kumar',_binary '\0',NULL,NULL,9856875635,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$2a$10$WmNZeqBaDJJu0KaIFc01g.tVuIDe5XXFvKY.MrI1PYSIfwf/PqeJq','gaurav@gmail.com',NULL,NULL,1,NULL,NULL,1),(10007316,_binary '',NULL,NULL,'ashwini',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ashwini@gmail.com',NULL,NULL,'ashwini kad',_binary '\0',NULL,NULL,8796456785,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'$2a$10$T0kd.0Z3a3I7IZwgRN65RO7EJWLmNT2CFuXN7aPojXq/GVYsC0152','ashwini@gmail.com',NULL,NULL,1,NULL,NULL,1);
/*!40000 ALTER TABLE `sec_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sec_users_sequencs`
--
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 */;
--
-- Dumping data for table `sec_users_sequencs`
--
LOCK TABLES `sec_users_sequencs` WRITE;
/*!40000 ALTER TABLE `sec_users_sequencs` DISABLE KEYS */;
INSERT INTO `sec_users_sequencs` VALUES (10007317),(10007300),(10007300),(10007300),(10007300),(10007300);
/*!40000 ALTER TABLE `sec_users_sequencs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `secuser_roles`
--
DROP TABLE IF EXISTS `secuser_roles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `secuser_roles` (
`secuser_id` bigint NOT NULL,
`role_id` bigint NOT NULL,
PRIMARY KEY (`secuser_id`,`role_id`),
KEY `FKqori0nm574l1ipruo5f47crex` (`role_id`),
CONSTRAINT `FK321c4ykolkm3cy98bxmf4kn05` FOREIGN KEY (`secuser_id`) REFERENCES `sec_users` (`user_id`),
CONSTRAINT `FKqori0nm574l1ipruo5f47crex` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `secuser_roles`
--
LOCK TABLES `secuser_roles` WRITE;
/*!40000 ALTER TABLE `secuser_roles` DISABLE KEYS */;
INSERT INTO `secuser_roles` VALUES (10007304,1),(10007307,1),(10007308,1),(10007311,1),(10007316,1);
/*!40000 ALTER TABLE `secuser_roles` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sys_accounts`
--
DROP TABLE IF EXISTS `sys_accounts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_accounts` (
`id` bigint NOT NULL AUTO_INCREMENT,
`company_name` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`gst_no` varchar(255) DEFAULT NULL,
`mobile` varchar(255) DEFAULT NULL,
`pancard` varchar(255) DEFAULT NULL,
`working` varchar(255) DEFAULT NULL,
`workspace` 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 */;
--
-- Dumping data for table `sys_accounts`
--
LOCK TABLES `sys_accounts` WRITE;
/*!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 */;
UNLOCK TABLES;
--
-- Table structure for table `sys_accounts_users`
--
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 */;
--
-- Dumping data for table `sys_accounts_users`
--
LOCK TABLES `sys_accounts_users` WRITE;
/*!40000 ALTER TABLE `sys_accounts_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `sys_accounts_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user_list`
--
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 */;
--
-- Dumping data for table `user_list`
--
LOCK TABLES `user_list` WRITE;
/*!40000 ALTER TABLE `user_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_list` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `userloginhist`
--
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 */;
--
-- Dumping data for table `userloginhist`
--
LOCK TABLES `userloginhist` WRITE;
/*!40000 ALTER TABLE `userloginhist` DISABLE KEYS */;
/*!40000 ALTER TABLE `userloginhist` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `userpasswlog`
--
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 */;
--
-- Dumping data for table `userpasswlog`
--
LOCK TABLES `userpasswlog` WRITE;
/*!40000 ALTER TABLE `userpasswlog` DISABLE KEYS */;
/*!40000 ALTER TABLE `userpasswlog` ENABLE KEYS */;
UNLOCK TABLES;
SET @@SESSION.SQL_LOG_BIN = @MYSQLDUMP_TEMP_LOG_BIN;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2023-04-22 18:52:13