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

1009 lines
48 KiB
SQL
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 */;
LOCK TABLES `accounts` WRITE;
/*!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 */;
UNLOCK TABLES;
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 */;
LOCK TABLES `app_user_log` WRITE;
/*!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 */;
UNLOCK TABLES;
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 */;
LOCK TABLES `app_user_log_sequence` WRITE;
/*!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 */;
UNLOCK TABLES;
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 */;
LOCK TABLES `logs` WRITE;
/*!40000 ALTER TABLE `logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `logs` ENABLE KEYS */;
UNLOCK TABLES;
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 */;
LOCK TABLES `role` WRITE;
/*!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 */;
UNLOCK TABLES;
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 AUTO_INCREMENT,
`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 AUTO_INCREMENT=1602 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!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:35:57',6003,'Company',NULL,1560,'Company','Company','Enable'),(1564,'2023-10-25 17:36:16','2023-10-25 17:36:16',6004,'Contact',NULL,1560,'Contact','Contact','Enable'),(1565,'2023-10-25 17:36:32','2023-10-25 17:36:32',6005,'Dealer',NULL,1560,'Dealer','Dealer','Enable'),(1566,'2023-10-25 17:36:48','2023-10-25 17:36:48',6006,'Deals',NULL,1560,'Deals','Deals','Enable'),(1567,'2023-10-25 17:37:00','2023-10-25 17:37:00',6007,'Documents',NULL,1560,'Documents','Documents','Enable'),(1568,'2023-10-25 17:37:25','2023-10-25 17:37:25',6008,'Leads',NULL,1560,'Leads','Leads','Enable'),(1569,'2023-10-25 17:37:41','2023-10-25 17:37:41',6009,'Meetings',NULL,1560,'Meetings','Meetings','Enable'),(1570,'2023-10-25 17:39:36','2023-10-25 17:39:36',6010,'Product',NULL,1560,'Product','Product','Enable'),(1571,'2023-10-25 17:39:51','2023-10-25 17:39:51',6011,'Tasks',NULL,1560,'Tasks','Tasks','Enable'),(1572,'2023-11-01 18:43:22','2023-11-03 11:42:38',4000,'SequenceGenerator',NULL,1116,'Document Sequence','Document Sequrnce','Enable'),(1574,'2023-12-04 11:53:00','2023-12-04 18:49:58',1000,'Teacher_Registration',NULL,1573,'Teacher Registration','Teacher','Enable'),(1575,'2023-12-04 11:53:15','2023-12-04 18:50:25',1000,'Student_registration',NULL,1573,'Student Registration','Student','Enable'),(1576,'2023-12-04 18:50:53','2023-12-04 18:50:53',3000,'Courses_name',NULL,1573,'course','course','Enable'),(1577,'2024-01-27 15:39:15','2024-03-20 19:46:19',7000,'Transactions','King',0,'Transactions','Transactions','Enable'),(1579,'2024-02-01 16:26:28','2024-02-07 16:03:10',4300,'apiregistery',NULL,1556,'Api Registery','Api Registery','Enable'),(1580,'2024-02-02 10:05:03','2024-02-02 10:05:03',4200,'tokenregistery',NULL,1556,'Token Registery','Token Registery','Enable'),(1582,'2024-02-03 10:25:51','2024-02-03 10:25:51',8000,'test','test',0,'test','test','Enable'),(1588,'2024-02-07 16:03:53','2024-02-07 16:03:53',4400,'survey-form',NULL,1556,'Survey Form','SurveyForm','Enable'),(1593,'2024-02-24 15:02:22','2024-02-24 15:02:22',4500,'datamanage','data-cluster',0,'Data Management','DataManagement','Enable'),(1594,'2024-02-24 15:03:01','2024-02-24 15:03:01',4501,'datamanagement',NULL,1593,'Data Management','DataManagement','Enable'),(1595,'2024-02-24 15:03:34','2024-02-24 15:03:34',4502,'validationrule',NULL,1593,'Validaiton Rule','ValidaitonRule','Enable'),(1596,'2024-02-24 15:03:58','2024-02-24 15:03:58',4503,'mappingrule',NULL,1593,'Mapping Rule','MappingRule','Enable'),(1601,'2024-03-20 19:46:01','2024-03-20 19:46:37',9000,'Masters','data-cluster',0,'Masters','Masters','Enable');
/*!40000 ALTER TABLE `sec_menu_det` ENABLE KEYS */;
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 */;
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;
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 */;
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),(40),(40);
/*!40000 ALTER TABLE `sec_user_group_id` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `department`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `department` (
`department_code` varchar(255) NOT NULL,
`active` varchar(255) DEFAULT NULL,
`created_by` varchar(255) DEFAULT NULL,
`created_on` datetime DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
`id` bigint DEFAULT NULL,
`updated_by` varchar(255) DEFAULT NULL,
PRIMARY KEY (`department_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `department` WRITE;
/*!40000 ALTER TABLE `department` DISABLE KEYS */;
/*!40000 ALTER TABLE `department` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `position`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `position` (
`position_code` varchar(255) NOT NULL,
`active` varchar(255) DEFAULT NULL,
`created_by` varchar(255) DEFAULT NULL,
`created_on` datetime DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
`updated_by` varchar(255) DEFAULT NULL,
`updated_on` datetime DEFAULT NULL,
PRIMARY KEY (`position_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `position` WRITE;
UNLOCK TABLES;
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 */;
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;
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,
`accesstype` varchar(255) DEFAULT NULL,
`active` bit(1) NOT NULL,
`two_factor_secret` varchar(255) DEFAULT NULL,
`is_two_factor_enabled` bit(1) 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 */;
/*!40000 ALTER TABLE `sec_users` DISABLE KEYS */;
INSERT INTO `sec_users` VALUES (10007307,_binary '',NULL,NULL,'test3',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sysadmin',NULL,NULL,'sysadmin',_binary '\0',NULL,'2024-01-08 19:22:05',1234567890,NULL,NULL,'admin123',NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,'$2b$10$Q4awVWIgL/piSoSRFQo.C.cxk3MFpPzCCIHW5HplUSQwl2KAMCijS','sysadmin',NULL,NULL,1,NULL,NULL,1,NULL,_binary '\0',NULL,_binary '\0');
/*!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 */;
LOCK TABLES `sec_user_sessions` WRITE;
/*!40000 ALTER TABLE `sec_user_sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `sec_user_sessions` ENABLE KEYS */;
UNLOCK TABLES;
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 */;
LOCK TABLES `sec_users_sequencs` WRITE;
/*!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 */;
UNLOCK TABLES;
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 */;
LOCK TABLES `sec_workspace` WRITE;
/*!40000 ALTER TABLE `sec_workspace` DISABLE KEYS */;
/*!40000 ALTER TABLE `sec_workspace` ENABLE KEYS */;
UNLOCK TABLES;
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 */;
LOCK TABLES `sec_workspace_users` WRITE;
/*!40000 ALTER TABLE `sec_workspace_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `sec_workspace_users` ENABLE KEYS */;
UNLOCK TABLES;
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 */;
LOCK TABLES `secuser_roles` WRITE;
/*!40000 ALTER TABLE `secuser_roles` DISABLE KEYS */;
INSERT INTO `secuser_roles` VALUES (10007307,1);
/*!40000 ALTER TABLE `secuser_roles` ENABLE KEYS */;
UNLOCK TABLES;
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 */;
LOCK TABLES `sys_accounts_users` WRITE;
/*!40000 ALTER TABLE `sys_accounts_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `sys_accounts_users` ENABLE KEYS */;
UNLOCK TABLES;
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 */;
LOCK TABLES `user_list` WRITE;
/*!40000 ALTER TABLE `user_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_list` ENABLE KEYS */;
UNLOCK TABLES;
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 */;
LOCK TABLES `userloginhist` WRITE;
/*!40000 ALTER TABLE `userloginhist` DISABLE KEYS */;
/*!40000 ALTER TABLE `userloginhist` ENABLE KEYS */;
UNLOCK TABLES;
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 */;
LOCK TABLES `userpasswlog` WRITE;
/*!40000 ALTER TABLE `userpasswlog` DISABLE KEYS */;
/*!40000 ALTER TABLE `userpasswlog` ENABLE KEYS */;
UNLOCK TABLES;
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 */;
DROP TABLE IF EXISTS `dashbord_header`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dashbord_header` (
`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_build` bit(1) DEFAULT NULL,
`dashboard_name` varchar(255) DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
`menu_name` varchar(255) DEFAULT NULL,
`module_id` int NOT NULL,
`object_type` varchar(255) DEFAULT NULL,
`secuirity_profile` varchar(255) DEFAULT NULL,
`sub_object_type` varchar(255) DEFAULT NULL,
`tech_stack` varchar(255) DEFAULT NULL,
`testing` bit(1) NOT NULL,
`is_updated` bit(1) DEFAULT NULL,
`add_to_home` bit(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `dashbord_header` DISABLE KEYS */;
INSERT INTO `dashbord_header` VALUES (1,NULL,'2023-11-23 09:06:59',NULL,'2024-02-05 17:55:17',NULL,_binary '\0','Testing Dashboard','This is dashboard for testing purpose and using chart make it dynamic.',NULL,0,NULL,'easy',NULL,NULL,_binary '\0',_binary '\0',_binary '\0');
/*!40000 ALTER TABLE `dashbord_header` ENABLE KEYS */;
DROP TABLE IF EXISTS `dashbord_line`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dashbord_line` (
`id` int NOT NULL AUTO_INCREMENT,
`model` longtext,
`dashboard_name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `dashbord_line` DISABLE KEYS */;
INSERT INTO `dashbord_line` VALUES (1,'FF','TT'),(2,'FFhjfh','TT1'),(13,'[{\"cols\":3,\"rows\":5,\"x\":3,\"y\":5,\"chartid\":3,\"name\":\"Doughnut Chart\",\"component\":\"Doughnut Chart\"},{\"cols\":3,\"rows\":5,\"x\":3,\"y\":0,\"chartid\":3,\"name\":\"Line Chart\",\"component\":\"Line Chart\"},{\"cols\":4,\"rows\":6,\"x\":6,\"y\":0,\"chartid\":3,\"name\":\"Bar Chart\",\"component\":\"Bar Chart\"},{\"cols\":3,\"rows\":8,\"x\":0,\"y\":0,\"chartid\":3,\"name\":\"Grid View\",\"component\":\"Grid View\"}]','Dashtest'),(14,'[{\"cols\":3,\"rows\":10,\"x\":0,\"y\":0,\"chartid\":3,\"name\":\"Doughnut Chart\",\"component\":\"Doughnut Chart\"},{\"cols\":4,\"rows\":10,\"x\":3,\"y\":0,\"chartid\":2,\"name\":\"Line Chart\",\"component\":\"Line Chart\"},{\"cols\":3,\"rows\":6,\"x\":0,\"y\":10,\"chartid\":4,\"name\":\"Bar Chart\",\"component\":\"Bar Chart\"},{\"cols\":6,\"rows\":11,\"x\":7,\"y\":2,\"chartid\":11,\"name\":\"Grid View\",\"component\":\"Grid View\"}]','DashboardTesting');
/*!40000 ALTER TABLE `dashbord_line` ENABLE KEYS */;
DROP TABLE IF EXISTS `dashbord1_line`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dashbord1_line` (
`id` int NOT NULL AUTO_INCREMENT,
`model` varchar(5000) DEFAULT NULL,
`header_id` varchar(255) DEFAULT NULL,
`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,
`dashbord_header_id` int DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FKqkm6rio8tklefo89pinyrjvjr` (`dashbord_header_id`),
CONSTRAINT `FKqkm6rio8tklefo89pinyrjvjr` FOREIGN KEY (`dashbord_header_id`) REFERENCES `dashbord_header` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `dashbord1_line` DISABLE KEYS */;
INSERT INTO `dashbord1_line` VALUES (1,'{\"dashboard\":[{\"cols\":4,\"rows\":5,\"x\":0,\"y\":0,\"name\":\"Radar Chart\",\"component\":\"Radar Chart\"},{\"cols\":5,\"rows\":6,\"x\":4,\"y\":0,\"chartid\":null,\"component\":\"Bubble Chart\",\"name\":\"Bubble Chart\"}]}',NULL,NULL,'2023-11-23 09:06:59',NULL,'2024-02-02 10:34:37',NULL,1);
/*!40000 ALTER TABLE `dashbord1_line` ENABLE KEYS */;
DROP TABLE IF EXISTS `rp_builder`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rp_builder` (
`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_build` bit(1) DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
`menu_name` varchar(255) DEFAULT NULL,
`module_id` int NOT NULL,
`page_size` varchar(255) DEFAULT NULL,
`report_builder_name` varchar(255) DEFAULT NULL,
`secuirity_profile` varchar(255) DEFAULT NULL,
`tech_stack` varchar(255) DEFAULT NULL,
`is_updated` bit(1) 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 `rp_builder` DISABLE KEYS */;
/*!40000 ALTER TABLE `rp_builder` ENABLE KEYS */;
DROP TABLE IF EXISTS `rp_line`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rp_line` (
`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,
`model` varchar(5000) DEFAULT NULL,
`header_id` varchar(255) DEFAULT NULL,
`rp_builder_id` int DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FKsbu6qlicff1ocx64fjai9dbem` (`rp_builder_id`),
CONSTRAINT `FKsbu6qlicff1ocx64fjai9dbem` FOREIGN KEY (`rp_builder_id`) REFERENCES `rp_builder` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `rp_line` DISABLE KEYS */;
/*!40000 ALTER TABLE `rp_line` ENABLE KEYS */;
DROP TABLE IF EXISTS `rpt_builder2_t`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rpt_builder2_t` (
`id` bigint NOT NULL AUTO_INCREMENT,
`active` bit(1) DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
`report_name` varchar(255) DEFAULT NULL,
`is_sql` bit(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `rpt_builder2_t` DISABLE KEYS */;
INSERT INTO `rpt_builder2_t` VALUES (1,_binary '','School Changes Reports','School Report',NULL),(2,NULL,NULL,'Urltest1',NULL),(3,_binary '','test','test',_binary ''),(4,_binary '','test','test',_binary '\0');
/*!40000 ALTER TABLE `rpt_builder2_t` ENABLE KEYS */;
DROP TABLE IF EXISTS `rpt_builder_t`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rpt_builder_t` (
`id` bigint NOT NULL AUTO_INCREMENT,
`std_param_json` varchar(255) DEFAULT NULL,
`adhoc_param_flag` bit(1) NOT NULL,
`adhoc_param_string` varchar(255) DEFAULT NULL,
`date_param_flag` bit(1) NOT NULL,
`folder` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`query` 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 `rpt_builder_t` DISABLE KEYS */;
/*!40000 ALTER TABLE `rpt_builder_t` ENABLE KEYS */;
DROP TABLE IF EXISTS `rpt_builder2_lines_t`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rpt_builder2_lines_t` (
`id` bigint NOT NULL AUTO_INCREMENT,
`header_id` varchar(255) DEFAULT NULL,
`model` longtext,
`rpt_builder2_t_id` bigint DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK2hd057u9jnuxb54o7wxa30hwx` (`rpt_builder2_t_id`),
CONSTRAINT `FK2hd057u9jnuxb54o7wxa30hwx` FOREIGN KEY (`rpt_builder2_t_id`) REFERENCES `rpt_builder2_t` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40000 ALTER TABLE `rpt_builder2_lines_t` DISABLE KEYS */;
INSERT INTO `rpt_builder2_lines_t` VALUES (1,NULL,'',1),(2,NULL,'[{\"std_param_html\":[\"name\",\"mark\",\"mark2\"],\"adhoc_param_html\":[\"name\",\"mark2\",\"id\",\"mark\",\"timestamp\"],\"date_param_req\":false,\"url\":\"http://3.109.61.114:30173/token/access_type/agyana\"}]',2),(3,NULL,'',3),(4,NULL,'',4);
/*!40000 ALTER TABLE `rpt_builder2_lines_t` ENABLE KEYS */;
DROP TABLE IF EXISTS `system_paramaters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `system_paramaters` (
`id` int NOT NULL,
`company_display_name` varchar(255) DEFAULT NULL,
`edi_mae_scheduler_onoff` int DEFAULT NULL,
`edi_scheduler_onoff` varchar(255) DEFAULT NULL,
`base_price_list` varchar(255) DEFAULT NULL,
`billing_department_code` varchar(255) DEFAULT NULL,
`cn_billing_frequency` int DEFAULT NULL,
`default_department` varchar(255) DEFAULT NULL,
`default_position` varchar(255) DEFAULT NULL,
`first_dayof_the_week` varchar(255) DEFAULT NULL,
`hour_per_shift` int DEFAULT NULL,
`is_regitration_allowed` bit(1) NOT NULL,
`lease_tax_code` varchar(255) DEFAULT NULL,
`link_to_display` int DEFAULT NULL,
`lov_link_to_display` int DEFAULT NULL,
`lov_row_to_display` int DEFAULT NULL,
`noncontainer_serviceorder_auto_appdepcode` varchar(255) DEFAULT NULL,
`oid_admin_user` varchar(255) DEFAULT NULL,
`oid_base` varchar(255) DEFAULT NULL,
`oid_server_port` int DEFAULT NULL,
`oid_server_name` varchar(255) DEFAULT NULL,
`row_to_add` int DEFAULT NULL,
`row_to_display` int DEFAULT NULL,
`scheduler_time` int DEFAULT NULL,
`single_charge` varchar(255) DEFAULT NULL,
`upload_logo` varchar(255) DEFAULT NULL,
`upload_logo_name` varchar(255) DEFAULT NULL,
`upload_logo_path` varchar(255) DEFAULT NULL,
`user_default_group` int DEFAULT NULL,
`vessel_conf_processlimit` int 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 `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