Commit bd12f3af authored by John Red Medrano's avatar John Red Medrano

Merge branch 'RMSv2' of http://42.61.118.105:7990/scm/rms/api-main-service into red-develop

parents 32a7b019 5bdbb8bf
...@@ -49,7 +49,7 @@ def account_created(args): ...@@ -49,7 +49,7 @@ def account_created(args):
) )
return True return True
# direct mailer from django
def forgot_password(args): def forgot_password(args):
reset_code = args[0] reset_code = args[0]
url = args[1] url = args[1]
......
...@@ -31,6 +31,7 @@ CREATE TABLE IF NOT EXISTS `applications` ( ...@@ -31,6 +31,7 @@ CREATE TABLE IF NOT EXISTS `applications` (
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.applications: ~3 rows (approximately) -- Dumping data for table rms_db.applications: ~3 rows (approximately)
DELETE FROM `applications`;
/*!40000 ALTER TABLE `applications` DISABLE KEYS */; /*!40000 ALTER TABLE `applications` DISABLE KEYS */;
INSERT INTO `applications` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`) VALUES INSERT INTO `applications` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`) VALUES
(1, '2019-09-09 15:33:32.000000', 'admin', '2019-09-09 15:33:34.000000', 'admin', 'app', 'Resource Management'), (1, '2019-09-09 15:33:32.000000', 'admin', '2019-09-09 15:33:34.000000', 'admin', 'app', 'Resource Management'),
...@@ -53,6 +54,7 @@ CREATE TABLE IF NOT EXISTS `attachments` ( ...@@ -53,6 +54,7 @@ CREATE TABLE IF NOT EXISTS `attachments` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.attachments: ~0 rows (approximately) -- Dumping data for table rms_db.attachments: ~0 rows (approximately)
DELETE FROM `attachments`;
/*!40000 ALTER TABLE `attachments` DISABLE KEYS */; /*!40000 ALTER TABLE `attachments` DISABLE KEYS */;
/*!40000 ALTER TABLE `attachments` ENABLE KEYS */; /*!40000 ALTER TABLE `attachments` ENABLE KEYS */;
...@@ -66,7 +68,8 @@ CREATE TABLE IF NOT EXISTS `authtoken_token` ( ...@@ -66,7 +68,8 @@ CREATE TABLE IF NOT EXISTS `authtoken_token` (
CONSTRAINT `authtoken_token_user_id_35299eff_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`) CONSTRAINT `authtoken_token_user_id_35299eff_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.authtoken_token: ~0 rows (approximately) -- Dumping data for table rms_db.authtoken_token: ~1 rows (approximately)
DELETE FROM `authtoken_token`;
/*!40000 ALTER TABLE `authtoken_token` DISABLE KEYS */; /*!40000 ALTER TABLE `authtoken_token` DISABLE KEYS */;
INSERT INTO `authtoken_token` (`key`, `created`, `user_id`) VALUES INSERT INTO `authtoken_token` (`key`, `created`, `user_id`) VALUES
('54272cd5f34ab29c52318041889a3b65dc8db6a2', '2019-09-16 10:40:03.878930', 5); ('54272cd5f34ab29c52318041889a3b65dc8db6a2', '2019-09-16 10:40:03.878930', 5);
...@@ -87,6 +90,7 @@ CREATE TABLE IF NOT EXISTS `auth_access_token` ( ...@@ -87,6 +90,7 @@ CREATE TABLE IF NOT EXISTS `auth_access_token` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.auth_access_token: ~0 rows (approximately) -- Dumping data for table rms_db.auth_access_token: ~0 rows (approximately)
DELETE FROM `auth_access_token`;
/*!40000 ALTER TABLE `auth_access_token` DISABLE KEYS */; /*!40000 ALTER TABLE `auth_access_token` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_access_token` ENABLE KEYS */; /*!40000 ALTER TABLE `auth_access_token` ENABLE KEYS */;
...@@ -99,6 +103,7 @@ CREATE TABLE IF NOT EXISTS `auth_group` ( ...@@ -99,6 +103,7 @@ CREATE TABLE IF NOT EXISTS `auth_group` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.auth_group: ~0 rows (approximately) -- Dumping data for table rms_db.auth_group: ~0 rows (approximately)
DELETE FROM `auth_group`;
/*!40000 ALTER TABLE `auth_group` DISABLE KEYS */; /*!40000 ALTER TABLE `auth_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_group` ENABLE KEYS */; /*!40000 ALTER TABLE `auth_group` ENABLE KEYS */;
...@@ -115,6 +120,7 @@ CREATE TABLE IF NOT EXISTS `auth_group_permissions` ( ...@@ -115,6 +120,7 @@ CREATE TABLE IF NOT EXISTS `auth_group_permissions` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.auth_group_permissions: ~0 rows (approximately) -- Dumping data for table rms_db.auth_group_permissions: ~0 rows (approximately)
DELETE FROM `auth_group_permissions`;
/*!40000 ALTER TABLE `auth_group_permissions` DISABLE KEYS */; /*!40000 ALTER TABLE `auth_group_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_group_permissions` ENABLE KEYS */; /*!40000 ALTER TABLE `auth_group_permissions` ENABLE KEYS */;
...@@ -130,6 +136,7 @@ CREATE TABLE IF NOT EXISTS `auth_permission` ( ...@@ -130,6 +136,7 @@ CREATE TABLE IF NOT EXISTS `auth_permission` (
) ENGINE=InnoDB AUTO_INCREMENT=133 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=133 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.auth_permission: ~124 rows (approximately) -- Dumping data for table rms_db.auth_permission: ~124 rows (approximately)
DELETE FROM `auth_permission`;
/*!40000 ALTER TABLE `auth_permission` DISABLE KEYS */; /*!40000 ALTER TABLE `auth_permission` DISABLE KEYS */;
INSERT INTO `auth_permission` (`id`, `name`, `content_type_id`, `codename`) VALUES INSERT INTO `auth_permission` (`id`, `name`, `content_type_id`, `codename`) VALUES
(1, 'Can add log entry', 1, 'add_logentry'), (1, 'Can add log entry', 1, 'add_logentry'),
...@@ -288,6 +295,7 @@ CREATE TABLE IF NOT EXISTS `auth_user` ( ...@@ -288,6 +295,7 @@ CREATE TABLE IF NOT EXISTS `auth_user` (
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.auth_user: ~5 rows (approximately) -- Dumping data for table rms_db.auth_user: ~5 rows (approximately)
DELETE FROM `auth_user`;
/*!40000 ALTER TABLE `auth_user` DISABLE KEYS */; /*!40000 ALTER TABLE `auth_user` DISABLE KEYS */;
INSERT INTO `auth_user` (`id`, `last_login`, `is_superuser`, `first_name`, `last_name`, `is_staff`, `is_active`, `date_joined`, `default_app`, `user_type`, `code`, `name`, `username`, `password`, `contact_no`, `email`, `department_id`, `doa_id`) VALUES INSERT INTO `auth_user` (`id`, `last_login`, `is_superuser`, `first_name`, `last_name`, `is_staff`, `is_active`, `date_joined`, `default_app`, `user_type`, `code`, `name`, `username`, `password`, `contact_no`, `email`, `department_id`, `doa_id`) VALUES
(5, NULL, 1, '', '', 1, 1, '2019-09-09 15:37:33.686243', NULL, 'SU', 'USER-20190909-0000005', 'xxx', 'superuser', 'pbkdf2_sha256$150000$XJ4yhC1Fcuxd$lPbvc4KrA1/jjKqQi8wPrWKSB+7g51HkqVq8wB/Eavg=', NULL, 'superuser@tirsolutions.com', 2, NULL), (5, NULL, 1, '', '', 1, 1, '2019-09-09 15:37:33.686243', NULL, 'SU', 'USER-20190909-0000005', 'xxx', 'superuser', 'pbkdf2_sha256$150000$XJ4yhC1Fcuxd$lPbvc4KrA1/jjKqQi8wPrWKSB+7g51HkqVq8wB/Eavg=', NULL, 'superuser@tirsolutions.com', 2, NULL),
...@@ -310,6 +318,7 @@ CREATE TABLE IF NOT EXISTS `auth_user_application` ( ...@@ -310,6 +318,7 @@ CREATE TABLE IF NOT EXISTS `auth_user_application` (
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.auth_user_application: ~3 rows (approximately) -- Dumping data for table rms_db.auth_user_application: ~3 rows (approximately)
DELETE FROM `auth_user_application`;
/*!40000 ALTER TABLE `auth_user_application` DISABLE KEYS */; /*!40000 ALTER TABLE `auth_user_application` DISABLE KEYS */;
INSERT INTO `auth_user_application` (`id`, `user_id`, `application_id`) VALUES INSERT INTO `auth_user_application` (`id`, `user_id`, `application_id`) VALUES
(2, 5, 1), (2, 5, 1),
...@@ -330,6 +339,7 @@ CREATE TABLE IF NOT EXISTS `auth_user_groups` ( ...@@ -330,6 +339,7 @@ CREATE TABLE IF NOT EXISTS `auth_user_groups` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.auth_user_groups: ~0 rows (approximately) -- Dumping data for table rms_db.auth_user_groups: ~0 rows (approximately)
DELETE FROM `auth_user_groups`;
/*!40000 ALTER TABLE `auth_user_groups` DISABLE KEYS */; /*!40000 ALTER TABLE `auth_user_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_user_groups` ENABLE KEYS */; /*!40000 ALTER TABLE `auth_user_groups` ENABLE KEYS */;
...@@ -350,6 +360,7 @@ CREATE TABLE IF NOT EXISTS `auth_user_images` ( ...@@ -350,6 +360,7 @@ CREATE TABLE IF NOT EXISTS `auth_user_images` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.auth_user_images: ~0 rows (approximately) -- Dumping data for table rms_db.auth_user_images: ~0 rows (approximately)
DELETE FROM `auth_user_images`;
/*!40000 ALTER TABLE `auth_user_images` DISABLE KEYS */; /*!40000 ALTER TABLE `auth_user_images` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_user_images` ENABLE KEYS */; /*!40000 ALTER TABLE `auth_user_images` ENABLE KEYS */;
...@@ -366,6 +377,7 @@ CREATE TABLE IF NOT EXISTS `auth_user_user_permissions` ( ...@@ -366,6 +377,7 @@ CREATE TABLE IF NOT EXISTS `auth_user_user_permissions` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.auth_user_user_permissions: ~0 rows (approximately) -- Dumping data for table rms_db.auth_user_user_permissions: ~0 rows (approximately)
DELETE FROM `auth_user_user_permissions`;
/*!40000 ALTER TABLE `auth_user_user_permissions` DISABLE KEYS */; /*!40000 ALTER TABLE `auth_user_user_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_user_user_permissions` ENABLE KEYS */; /*!40000 ALTER TABLE `auth_user_user_permissions` ENABLE KEYS */;
...@@ -392,7 +404,8 @@ CREATE TABLE IF NOT EXISTS `change_request_form_approvers` ( ...@@ -392,7 +404,8 @@ CREATE TABLE IF NOT EXISTS `change_request_form_approvers` (
CONSTRAINT `change_request_form_approvers_user_id_3a71dffe_fk_auth_user_code` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`code`) CONSTRAINT `change_request_form_approvers_user_id_3a71dffe_fk_auth_user_code` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_form_approvers: ~6 rows (approximately) -- Dumping data for table rms_db.change_request_form_approvers: ~9 rows (approximately)
DELETE FROM `change_request_form_approvers`;
/*!40000 ALTER TABLE `change_request_form_approvers` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_form_approvers` DISABLE KEYS */;
INSERT INTO `change_request_form_approvers` (`id`, `level`, `delegation`, `created`, `code`, `remarks`, `action`, `date_sent`, `form_code_id`, `tmp_approver_id`, `user_id`) VALUES INSERT INTO `change_request_form_approvers` (`id`, `level`, `delegation`, `created`, `code`, `remarks`, `action`, `date_sent`, `form_code_id`, `tmp_approver_id`, `user_id`) VALUES
(1, '1', 'HOD', '2019-09-13 17:52:28.672540', 'FRMAPR-20190913-0000001', NULL, NULL, NULL, 'FRM-20190913-0000001', 'TMPAPR-20190913-0000001', 'USER-20190913-0000008'), (1, '1', 'HOD', '2019-09-13 17:52:28.672540', 'FRMAPR-20190913-0000001', NULL, NULL, NULL, 'FRM-20190913-0000001', 'TMPAPR-20190913-0000001', 'USER-20190913-0000008'),
...@@ -429,7 +442,8 @@ CREATE TABLE IF NOT EXISTS `change_request_form_attachments` ( ...@@ -429,7 +442,8 @@ CREATE TABLE IF NOT EXISTS `change_request_form_attachments` (
CONSTRAINT `change_request_form__uploaded_by_id_3187c462_fk_auth_user` FOREIGN KEY (`uploaded_by_id`) REFERENCES `auth_user` (`code`) CONSTRAINT `change_request_form__uploaded_by_id_3187c462_fk_auth_user` FOREIGN KEY (`uploaded_by_id`) REFERENCES `auth_user` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_form_attachments: ~4 rows (approximately) -- Dumping data for table rms_db.change_request_form_attachments: ~6 rows (approximately)
DELETE FROM `change_request_form_attachments`;
/*!40000 ALTER TABLE `change_request_form_attachments` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_form_attachments` DISABLE KEYS */;
INSERT INTO `change_request_form_attachments` (`id`, `attachment_type`, `attachment_name`, `file_name`, `description`, `file_upload`, `created`, `code`, `form_code_id`, `tmp_attach_id`, `uploaded_by_id`) VALUES INSERT INTO `change_request_form_attachments` (`id`, `attachment_type`, `attachment_name`, `file_name`, `description`, `file_upload`, `created`, `code`, `form_code_id`, `tmp_attach_id`, `uploaded_by_id`) VALUES
(1, 'Hello', 'heyu', 'Sample', 'Sameple Desc', '', '2019-09-13 17:52:28.990512', 'FRMATCH-20190913-0000001', 'FRM-20190913-0000001', 'TMPATCH-20190913-0000001', 'USER-20190913-0000006'), (1, 'Hello', 'heyu', 'Sample', 'Sameple Desc', '', '2019-09-13 17:52:28.990512', 'FRMATCH-20190913-0000001', 'FRM-20190913-0000001', 'TMPATCH-20190913-0000001', 'USER-20190913-0000006'),
...@@ -459,7 +473,8 @@ CREATE TABLE IF NOT EXISTS `change_request_form_details` ( ...@@ -459,7 +473,8 @@ CREATE TABLE IF NOT EXISTS `change_request_form_details` (
CONSTRAINT `change_request_form__tmp_detail_id_315fbb6d_fk_change_re` FOREIGN KEY (`tmp_detail_id`) REFERENCES `change_request_template_details` (`code`) CONSTRAINT `change_request_form__tmp_detail_id_315fbb6d_fk_change_re` FOREIGN KEY (`tmp_detail_id`) REFERENCES `change_request_template_details` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_form_details: ~4 rows (approximately) -- Dumping data for table rms_db.change_request_form_details: ~6 rows (approximately)
DELETE FROM `change_request_form_details`;
/*!40000 ALTER TABLE `change_request_form_details` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_form_details` DISABLE KEYS */;
INSERT INTO `change_request_form_details` (`id`, `field_idx`, `field_ref`, `field_val`, `field_props`, `created`, `code`, `form_code_id`, `tmp_detail_id`) VALUES INSERT INTO `change_request_form_details` (`id`, `field_idx`, `field_ref`, `field_val`, `field_props`, `created`, `code`, `form_code_id`, `tmp_detail_id`) VALUES
(1, 'Hello', 'heyu', 'Sample', 'Sameple Desc', '2019-09-13 17:52:29.148568', 'FRMDETAIL-20190913-0000001', 'FRM-20190913-0000001', 'TMPDETAIL-20190913-0000001'), (1, 'Hello', 'heyu', 'Sample', 'Sameple Desc', '2019-09-13 17:52:29.148568', 'FRMDETAIL-20190913-0000001', 'FRM-20190913-0000001', 'TMPDETAIL-20190913-0000001'),
...@@ -509,7 +524,8 @@ CREATE TABLE IF NOT EXISTS `change_request_form_headers` ( ...@@ -509,7 +524,8 @@ CREATE TABLE IF NOT EXISTS `change_request_form_headers` (
CONSTRAINT `change_request_form__template_no_id_20abd55c_fk_change_re` FOREIGN KEY (`template_no_id`) REFERENCES `change_request_template_headers` (`template_no`) CONSTRAINT `change_request_form__template_no_id_20abd55c_fk_change_re` FOREIGN KEY (`template_no_id`) REFERENCES `change_request_template_headers` (`template_no`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_form_headers: ~2 rows (approximately) -- Dumping data for table rms_db.change_request_form_headers: ~4 rows (approximately)
DELETE FROM `change_request_form_headers`;
/*!40000 ALTER TABLE `change_request_form_headers` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_form_headers` DISABLE KEYS */;
INSERT INTO `change_request_form_headers` (`id`, `requested_to_template_name`, `requested_to_template_id`, `requested_to_objective`, `requested_to_target_date`, `requested_to_priority`, `description`, `created`, `form_code`, `cancel_date`, `status`, `company_desc`, `department_desc`, `requested_desc`, `old_form_code`, `requested_by_department_id`, `requested_by_user_id`, `requested_to_company_id`, `requested_to_department_id`, `requested_to_user_id`, `template_no_id`) VALUES INSERT INTO `change_request_form_headers` (`id`, `requested_to_template_name`, `requested_to_template_id`, `requested_to_objective`, `requested_to_target_date`, `requested_to_priority`, `description`, `created`, `form_code`, `cancel_date`, `status`, `company_desc`, `department_desc`, `requested_desc`, `old_form_code`, `requested_by_department_id`, `requested_by_user_id`, `requested_to_company_id`, `requested_to_department_id`, `requested_to_user_id`, `template_no_id`) VALUES
(1, 'Sample Template', 'JTC-20190916-0000003', 'Sample Objective', '2019-09-03 13:59:29.694560', 'High', 'sample description', '2019-09-13 17:52:28.509708', 'FRM-20190913-0000001', NULL, 'Draft', 'Oneberry', 'Oneberry Superuser', 'Super User', NULL, 'admin', 'USER-20190913-0000006', 'COMPANY-20190909-0000002', 'DEPARTMENT-20190909-0000002', 'USER-20190913-0000007', 'TMP-20190913-0000001'), (1, 'Sample Template', 'JTC-20190916-0000003', 'Sample Objective', '2019-09-03 13:59:29.694560', 'High', 'sample description', '2019-09-13 17:52:28.509708', 'FRM-20190913-0000001', NULL, 'Draft', 'Oneberry', 'Oneberry Superuser', 'Super User', NULL, 'admin', 'USER-20190913-0000006', 'COMPANY-20190909-0000002', 'DEPARTMENT-20190909-0000002', 'USER-20190913-0000007', 'TMP-20190913-0000001'),
...@@ -538,7 +554,8 @@ CREATE TABLE IF NOT EXISTS `change_request_form_stakeholders` ( ...@@ -538,7 +554,8 @@ CREATE TABLE IF NOT EXISTS `change_request_form_stakeholders` (
CONSTRAINT `change_request_form__user_id_378bdf3e_fk_auth_user` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`code`) CONSTRAINT `change_request_form__user_id_378bdf3e_fk_auth_user` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_form_stakeholders: ~4 rows (approximately) -- Dumping data for table rms_db.change_request_form_stakeholders: ~6 rows (approximately)
DELETE FROM `change_request_form_stakeholders`;
/*!40000 ALTER TABLE `change_request_form_stakeholders` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_form_stakeholders` DISABLE KEYS */;
INSERT INTO `change_request_form_stakeholders` (`id`, `delegation`, `created`, `code`, `date_added`, `form_code_id`, `tmp_stake_id`, `user_id`) VALUES INSERT INTO `change_request_form_stakeholders` (`id`, `delegation`, `created`, `code`, `date_added`, `form_code_id`, `tmp_stake_id`, `user_id`) VALUES
(1, 'Mandatory Stakeholder', '2019-09-13 17:52:28.882514', 'FRMSTK-20190913-0000001', '2019-09-03 13:59:29.694560', 'FRM-20190913-0000001', 'TMPSTK-20190913-0000001', 'USER-20190913-0000009'), (1, 'Mandatory Stakeholder', '2019-09-13 17:52:28.882514', 'FRMSTK-20190913-0000001', '2019-09-03 13:59:29.694560', 'FRM-20190913-0000001', 'TMPSTK-20190913-0000001', 'USER-20190913-0000009'),
...@@ -565,6 +582,7 @@ CREATE TABLE IF NOT EXISTS `change_request_history` ( ...@@ -565,6 +582,7 @@ CREATE TABLE IF NOT EXISTS `change_request_history` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_history: ~0 rows (approximately) -- Dumping data for table rms_db.change_request_history: ~0 rows (approximately)
DELETE FROM `change_request_history`;
/*!40000 ALTER TABLE `change_request_history` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `change_request_history` ENABLE KEYS */; /*!40000 ALTER TABLE `change_request_history` ENABLE KEYS */;
...@@ -586,7 +604,8 @@ CREATE TABLE IF NOT EXISTS `change_request_template_approvers` ( ...@@ -586,7 +604,8 @@ CREATE TABLE IF NOT EXISTS `change_request_template_approvers` (
CONSTRAINT `change_request_templ_user_id_958c925a_fk_auth_user` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`code`) CONSTRAINT `change_request_templ_user_id_958c925a_fk_auth_user` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_template_approvers: ~3 rows (approximately) -- Dumping data for table rms_db.change_request_template_approvers: ~6 rows (approximately)
DELETE FROM `change_request_template_approvers`;
/*!40000 ALTER TABLE `change_request_template_approvers` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_template_approvers` DISABLE KEYS */;
INSERT INTO `change_request_template_approvers` (`id`, `level`, `delegation`, `created`, `archived_at`, `code`, `template_no_id`, `user_id`) VALUES INSERT INTO `change_request_template_approvers` (`id`, `level`, `delegation`, `created`, `archived_at`, `code`, `template_no_id`, `user_id`) VALUES
(1, '1', 'HOD', '2019-09-13 17:16:45.525242', NULL, 'TMPAPR-20190913-0000001', 'TMP-20190913-0000001', 'USER-20190913-0000008'), (1, '1', 'HOD', '2019-09-13 17:16:45.525242', NULL, 'TMPAPR-20190913-0000001', 'TMP-20190913-0000001', 'USER-20190913-0000008'),
...@@ -618,7 +637,8 @@ CREATE TABLE IF NOT EXISTS `change_request_template_attachments` ( ...@@ -618,7 +637,8 @@ CREATE TABLE IF NOT EXISTS `change_request_template_attachments` (
CONSTRAINT `change_request_templ_uploaded_by_id_f9c6493a_fk_auth_user` FOREIGN KEY (`uploaded_by_id`) REFERENCES `auth_user` (`code`) CONSTRAINT `change_request_templ_uploaded_by_id_f9c6493a_fk_auth_user` FOREIGN KEY (`uploaded_by_id`) REFERENCES `auth_user` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_template_attachments: ~2 rows (approximately) -- Dumping data for table rms_db.change_request_template_attachments: ~4 rows (approximately)
DELETE FROM `change_request_template_attachments`;
/*!40000 ALTER TABLE `change_request_template_attachments` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_template_attachments` DISABLE KEYS */;
INSERT INTO `change_request_template_attachments` (`id`, `attachment_type`, `attachment_name`, `file_name`, `description`, `file_upload`, `created`, `archived_at`, `code`, `template_no_id`, `uploaded_by_id`) VALUES INSERT INTO `change_request_template_attachments` (`id`, `attachment_type`, `attachment_name`, `file_name`, `description`, `file_upload`, `created`, `archived_at`, `code`, `template_no_id`, `uploaded_by_id`) VALUES
(1, 'Hello', 'heyu', 'Sample', 'Sameple Desc', '', '2019-09-13 17:16:45.598239', NULL, 'TMPATCH-20190913-0000001', 'TMP-20190913-0000001', 'USER-20190913-0000006'), (1, 'Hello', 'heyu', 'Sample', 'Sameple Desc', '', '2019-09-13 17:16:45.598239', NULL, 'TMPATCH-20190913-0000001', 'TMP-20190913-0000001', 'USER-20190913-0000006'),
...@@ -644,7 +664,8 @@ CREATE TABLE IF NOT EXISTS `change_request_template_details` ( ...@@ -644,7 +664,8 @@ CREATE TABLE IF NOT EXISTS `change_request_template_details` (
CONSTRAINT `change_request_templ_template_no_id_d2ba31c2_fk_change_re` FOREIGN KEY (`template_no_id`) REFERENCES `change_request_template_headers` (`template_no`) CONSTRAINT `change_request_templ_template_no_id_d2ba31c2_fk_change_re` FOREIGN KEY (`template_no_id`) REFERENCES `change_request_template_headers` (`template_no`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_template_details: ~2 rows (approximately) -- Dumping data for table rms_db.change_request_template_details: ~4 rows (approximately)
DELETE FROM `change_request_template_details`;
/*!40000 ALTER TABLE `change_request_template_details` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_template_details` DISABLE KEYS */;
INSERT INTO `change_request_template_details` (`id`, `field_idx`, `field_ref`, `field_val`, `field_props`, `created`, `archived_at`, `code`, `template_no_id`) VALUES INSERT INTO `change_request_template_details` (`id`, `field_idx`, `field_ref`, `field_val`, `field_props`, `created`, `archived_at`, `code`, `template_no_id`) VALUES
(1, 'Hello', 'heyu', 'Sample', 'Sameple Desc', '2019-09-13 17:16:45.654237', NULL, 'TMPDETAIL-20190913-0000001', 'TMP-20190913-0000001'), (1, 'Hello', 'heyu', 'Sample', 'Sameple Desc', '2019-09-13 17:16:45.654237', NULL, 'TMPDETAIL-20190913-0000001', 'TMP-20190913-0000001'),
...@@ -685,7 +706,8 @@ CREATE TABLE IF NOT EXISTS `change_request_template_headers` ( ...@@ -685,7 +706,8 @@ CREATE TABLE IF NOT EXISTS `change_request_template_headers` (
CONSTRAINT `change_request_templ_requested_to_user_id_cfad98f0_fk_auth_user` FOREIGN KEY (`requested_to_user_id`) REFERENCES `auth_user` (`code`) CONSTRAINT `change_request_templ_requested_to_user_id_cfad98f0_fk_auth_user` FOREIGN KEY (`requested_to_user_id`) REFERENCES `auth_user` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_template_headers: ~1 rows (approximately) -- Dumping data for table rms_db.change_request_template_headers: ~2 rows (approximately)
DELETE FROM `change_request_template_headers`;
/*!40000 ALTER TABLE `change_request_template_headers` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_template_headers` DISABLE KEYS */;
INSERT INTO `change_request_template_headers` (`id`, `requested_to_template_name`, `requested_to_template_id`, `requested_to_objective`, `requested_to_target_date`, `requested_to_priority`, `description`, `created`, `archived_at`, `template_no`, `created_by_department_id`, `created_by_user_id`, `requested_to_company_id`, `requested_to_department_id`, `requested_to_user_id`) VALUES INSERT INTO `change_request_template_headers` (`id`, `requested_to_template_name`, `requested_to_template_id`, `requested_to_objective`, `requested_to_target_date`, `requested_to_priority`, `description`, `created`, `archived_at`, `template_no`, `created_by_department_id`, `created_by_user_id`, `requested_to_company_id`, `requested_to_department_id`, `requested_to_user_id`) VALUES
(1, 'Sample Template', 'JTC', 'Sample Objective', '10', 'High', 'sample description', '2019-09-13 17:16:45.427264', NULL, 'TMP-20190913-0000001', 'admin', 'USER-20190913-0000006', 'COMPANY-20190909-0000002', 'DEPARTMENT-20190909-0000002', 'USER-20190913-0000007'), (1, 'Sample Template', 'JTC', 'Sample Objective', '10', 'High', 'sample description', '2019-09-13 17:16:45.427264', NULL, 'TMP-20190913-0000001', 'admin', 'USER-20190913-0000006', 'COMPANY-20190909-0000002', 'DEPARTMENT-20190909-0000002', 'USER-20190913-0000007'),
...@@ -709,7 +731,8 @@ CREATE TABLE IF NOT EXISTS `change_request_template_stakeholders` ( ...@@ -709,7 +731,8 @@ CREATE TABLE IF NOT EXISTS `change_request_template_stakeholders` (
CONSTRAINT `change_request_templ_user_id_63128227_fk_auth_user` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`code`) CONSTRAINT `change_request_templ_user_id_63128227_fk_auth_user` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.change_request_template_stakeholders: ~2 rows (approximately) -- Dumping data for table rms_db.change_request_template_stakeholders: ~4 rows (approximately)
DELETE FROM `change_request_template_stakeholders`;
/*!40000 ALTER TABLE `change_request_template_stakeholders` DISABLE KEYS */; /*!40000 ALTER TABLE `change_request_template_stakeholders` DISABLE KEYS */;
INSERT INTO `change_request_template_stakeholders` (`id`, `delegation`, `created`, `archived_at`, `code`, `template_no_id`, `user_id`) VALUES INSERT INTO `change_request_template_stakeholders` (`id`, `delegation`, `created`, `archived_at`, `code`, `template_no_id`, `user_id`) VALUES
(1, 'Mandatory Stakeholder', '2019-09-13 17:16:45.585237', NULL, 'TMPSTK-20190913-0000001', 'TMP-20190913-0000001', 'USER-20190913-0000009'), (1, 'Mandatory Stakeholder', '2019-09-13 17:16:45.585237', NULL, 'TMPSTK-20190913-0000001', 'TMP-20190913-0000001', 'USER-20190913-0000009'),
...@@ -734,6 +757,7 @@ CREATE TABLE IF NOT EXISTS `companies` ( ...@@ -734,6 +757,7 @@ CREATE TABLE IF NOT EXISTS `companies` (
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.companies: ~2 rows (approximately) -- Dumping data for table rms_db.companies: ~2 rows (approximately)
DELETE FROM `companies`;
/*!40000 ALTER TABLE `companies` DISABLE KEYS */; /*!40000 ALTER TABLE `companies` DISABLE KEYS */;
INSERT INTO `companies` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`, `contact_details`) VALUES INSERT INTO `companies` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`, `contact_details`) VALUES
(1, '2019-09-09 15:28:25.000000', 'admin', '2019-09-09 15:28:27.000000', 'admin', 'tir', 'Total Integrated Resources', '13213'), (1, '2019-09-09 15:28:25.000000', 'admin', '2019-09-09 15:28:27.000000', 'admin', 'tir', 'Total Integrated Resources', '13213'),
...@@ -758,6 +782,7 @@ CREATE TABLE IF NOT EXISTS `departments` ( ...@@ -758,6 +782,7 @@ CREATE TABLE IF NOT EXISTS `departments` (
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.departments: ~2 rows (approximately) -- Dumping data for table rms_db.departments: ~2 rows (approximately)
DELETE FROM `departments`;
/*!40000 ALTER TABLE `departments` DISABLE KEYS */; /*!40000 ALTER TABLE `departments` DISABLE KEYS */;
INSERT INTO `departments` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`, `company_id`) VALUES INSERT INTO `departments` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`, `company_id`) VALUES
(1, '2019-09-09 15:29:05.000000', 'admin', '2019-09-09 15:29:07.000000', 'admin', 'admin', 'Superuser', 1), (1, '2019-09-09 15:29:05.000000', 'admin', '2019-09-09 15:29:07.000000', 'admin', 'admin', 'Superuser', 1),
...@@ -782,6 +807,7 @@ CREATE TABLE IF NOT EXISTS `django_admin_log` ( ...@@ -782,6 +807,7 @@ CREATE TABLE IF NOT EXISTS `django_admin_log` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.django_admin_log: ~0 rows (approximately) -- Dumping data for table rms_db.django_admin_log: ~0 rows (approximately)
DELETE FROM `django_admin_log`;
/*!40000 ALTER TABLE `django_admin_log` DISABLE KEYS */; /*!40000 ALTER TABLE `django_admin_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `django_admin_log` ENABLE KEYS */; /*!40000 ALTER TABLE `django_admin_log` ENABLE KEYS */;
...@@ -795,6 +821,7 @@ CREATE TABLE IF NOT EXISTS `django_content_type` ( ...@@ -795,6 +821,7 @@ CREATE TABLE IF NOT EXISTS `django_content_type` (
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.django_content_type: ~31 rows (approximately) -- Dumping data for table rms_db.django_content_type: ~31 rows (approximately)
DELETE FROM `django_content_type`;
/*!40000 ALTER TABLE `django_content_type` DISABLE KEYS */; /*!40000 ALTER TABLE `django_content_type` DISABLE KEYS */;
INSERT INTO `django_content_type` (`id`, `app_label`, `model`) VALUES INSERT INTO `django_content_type` (`id`, `app_label`, `model`) VALUES
(1, 'admin', 'logentry'), (1, 'admin', 'logentry'),
...@@ -830,40 +857,6 @@ INSERT INTO `django_content_type` (`id`, `app_label`, `model`) VALUES ...@@ -830,40 +857,6 @@ INSERT INTO `django_content_type` (`id`, `app_label`, `model`) VALUES
(5, 'sessions', 'session'); (5, 'sessions', 'session');
/*!40000 ALTER TABLE `django_content_type` ENABLE KEYS */; /*!40000 ALTER TABLE `django_content_type` ENABLE KEYS */;
-- Dumping structure for table rms_db.django_migrations
CREATE TABLE IF NOT EXISTS `django_migrations` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`app` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`applied` datetime(6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.django_migrations: ~20 rows (approximately)
/*!40000 ALTER TABLE `django_migrations` DISABLE KEYS */;
INSERT INTO `django_migrations` (`id`, `app`, `name`, `applied`) VALUES
(1, 'contenttypes', '0001_initial', '2019-09-09 15:17:34.824948'),
(2, 'contenttypes', '0002_remove_content_type_name', '2019-09-09 15:17:35.356278'),
(3, 'auth', '0001_initial', '2019-09-09 15:17:35.825737'),
(4, 'auth', '0002_alter_permission_name_max_length', '2019-09-09 15:17:37.806694'),
(5, 'auth', '0003_alter_user_email_max_length', '2019-09-09 15:17:37.878448'),
(6, 'auth', '0004_alter_user_username_opts', '2019-09-09 15:17:37.917472'),
(7, 'auth', '0005_alter_user_last_login_null', '2019-09-09 15:17:37.975212'),
(8, 'auth', '0006_require_contenttypes_0002', '2019-09-09 15:17:37.994979'),
(9, 'auth', '0007_alter_validators_add_error_messages', '2019-09-09 15:17:38.015030'),
(10, 'auth', '0008_alter_user_username_max_length', '2019-09-09 15:17:38.039969'),
(11, 'auth', '0009_alter_user_last_name_max_length', '2019-09-09 15:17:38.063969'),
(12, 'auth', '0010_alter_group_name_max_length', '2019-09-09 15:17:38.463506'),
(13, 'auth', '0011_update_proxy_permissions', '2019-09-09 15:17:38.493516'),
(14, 'entities', '0001_initial', '2019-09-09 15:17:43.558022'),
(15, 'admin', '0001_initial', '2019-09-09 15:18:07.857922'),
(16, 'admin', '0002_logentry_remove_auto_add', '2019-09-09 15:18:09.670093'),
(17, 'admin', '0003_logentry_add_action_flag_choices', '2019-09-09 15:18:09.723938'),
(18, 'authtoken', '0001_initial', '2019-09-09 15:18:10.101978'),
(19, 'authtoken', '0002_auto_20160226_1747', '2019-09-09 15:18:11.710856'),
(20, 'sessions', '0001_initial', '2019-09-09 15:18:11.984365');
/*!40000 ALTER TABLE `django_migrations` ENABLE KEYS */;
-- Dumping structure for table rms_db.django_session -- Dumping structure for table rms_db.django_session
CREATE TABLE IF NOT EXISTS `django_session` ( CREATE TABLE IF NOT EXISTS `django_session` (
`session_key` varchar(40) NOT NULL, `session_key` varchar(40) NOT NULL,
...@@ -874,6 +867,7 @@ CREATE TABLE IF NOT EXISTS `django_session` ( ...@@ -874,6 +867,7 @@ CREATE TABLE IF NOT EXISTS `django_session` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.django_session: ~0 rows (approximately) -- Dumping data for table rms_db.django_session: ~0 rows (approximately)
DELETE FROM `django_session`;
/*!40000 ALTER TABLE `django_session` DISABLE KEYS */; /*!40000 ALTER TABLE `django_session` DISABLE KEYS */;
/*!40000 ALTER TABLE `django_session` ENABLE KEYS */; /*!40000 ALTER TABLE `django_session` ENABLE KEYS */;
...@@ -892,6 +886,7 @@ CREATE TABLE IF NOT EXISTS `email_logs` ( ...@@ -892,6 +886,7 @@ CREATE TABLE IF NOT EXISTS `email_logs` (
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.email_logs: ~4 rows (approximately) -- Dumping data for table rms_db.email_logs: ~4 rows (approximately)
DELETE FROM `email_logs`;
/*!40000 ALTER TABLE `email_logs` DISABLE KEYS */; /*!40000 ALTER TABLE `email_logs` DISABLE KEYS */;
INSERT INTO `email_logs` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `template`, `recipients`, `content`, `is_sent`) VALUES INSERT INTO `email_logs` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `template`, `recipients`, `content`, `is_sent`) VALUES
(1, '2019-09-13 17:14:39.457923', 'superuser@tirsolutions.com', '2019-09-13 17:14:39.457923', 'superuser@tirsolutions.com', 'RMS-NEWUSER.html', 'test@gmail.com', '<!DOCTYPE html>\n<html>\n<head>\n<title>RMS: New User Created</title>\n</head>\n<body style="font-family: arial;">\n\n<div style="max-width:100px!important;">\n<img src="https://s18.directupload.net/images/190807/wjwrxx5i.jpg"/>\n</div>\n\n<h3>Resource Management System &#40;RMS&#41;</h3>\n<h3 style="color:#888888;">New User Created</h3><br>\n\n<p>Dear Gladys,</p><br>\n<p>You have been created as a new user of RMS. Please see your default login details below.</p><br>\n \n<b>Username</b><br>gladys<br><br>\n<b>Password</b><br>password123<br><br>\n\n<p>You may change your password through the <u><a href="http://staging.rms.oneberrysystem.com/cms/profile/" style="text-decoration:underline;color:#007bff;" target="_blank">my profile</a></u> section of RMS any time.</p><br>\n \n<p>Sincerely,</p>\n<p>RMS Team</p><br><br>\n \n<p>Powered by</p>\n<img src="https://s18.directupload.net/images/190807/jaewp4nx.png" width="120px"/>\n \n</body>\n</html>', 1), (1, '2019-09-13 17:14:39.457923', 'superuser@tirsolutions.com', '2019-09-13 17:14:39.457923', 'superuser@tirsolutions.com', 'RMS-NEWUSER.html', 'test@gmail.com', '<!DOCTYPE html>\n<html>\n<head>\n<title>RMS: New User Created</title>\n</head>\n<body style="font-family: arial;">\n\n<div style="max-width:100px!important;">\n<img src="https://s18.directupload.net/images/190807/wjwrxx5i.jpg"/>\n</div>\n\n<h3>Resource Management System &#40;RMS&#41;</h3>\n<h3 style="color:#888888;">New User Created</h3><br>\n\n<p>Dear Gladys,</p><br>\n<p>You have been created as a new user of RMS. Please see your default login details below.</p><br>\n \n<b>Username</b><br>gladys<br><br>\n<b>Password</b><br>password123<br><br>\n\n<p>You may change your password through the <u><a href="http://staging.rms.oneberrysystem.com/cms/profile/" style="text-decoration:underline;color:#007bff;" target="_blank">my profile</a></u> section of RMS any time.</p><br>\n \n<p>Sincerely,</p>\n<p>RMS Team</p><br><br>\n \n<p>Powered by</p>\n<img src="https://s18.directupload.net/images/190807/jaewp4nx.png" width="120px"/>\n \n</body>\n</html>', 1),
...@@ -916,6 +911,7 @@ CREATE TABLE IF NOT EXISTS `entity_logs` ( ...@@ -916,6 +911,7 @@ CREATE TABLE IF NOT EXISTS `entity_logs` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.entity_logs: ~0 rows (approximately) -- Dumping data for table rms_db.entity_logs: ~0 rows (approximately)
DELETE FROM `entity_logs`;
/*!40000 ALTER TABLE `entity_logs` DISABLE KEYS */; /*!40000 ALTER TABLE `entity_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `entity_logs` ENABLE KEYS */; /*!40000 ALTER TABLE `entity_logs` ENABLE KEYS */;
...@@ -940,6 +936,7 @@ CREATE TABLE IF NOT EXISTS `modules` ( ...@@ -940,6 +936,7 @@ CREATE TABLE IF NOT EXISTS `modules` (
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.modules: ~5 rows (approximately) -- Dumping data for table rms_db.modules: ~5 rows (approximately)
DELETE FROM `modules`;
/*!40000 ALTER TABLE `modules` DISABLE KEYS */; /*!40000 ALTER TABLE `modules` DISABLE KEYS */;
INSERT INTO `modules` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`, `parent`, `sort_id`, `component`, `application_id`) VALUES INSERT INTO `modules` (`id`, `created`, `createdby`, `modified`, `modifiedby`, `code`, `name`, `parent`, `sort_id`, `component`, `application_id`) VALUES
(1, '2019-09-09 15:54:07.799595', '', '2019-09-09 15:54:07.799595', 'superuser', 'MODULE-20190909-0000001', 'Application Management', 0, 1, NULL, 1), (1, '2019-09-09 15:54:07.799595', '', '2019-09-09 15:54:07.799595', 'superuser', 'MODULE-20190909-0000001', 'Application Management', 0, 1, NULL, 1),
...@@ -975,6 +972,7 @@ CREATE TABLE IF NOT EXISTS `notifications` ( ...@@ -975,6 +972,7 @@ CREATE TABLE IF NOT EXISTS `notifications` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.notifications: ~0 rows (approximately) -- Dumping data for table rms_db.notifications: ~0 rows (approximately)
DELETE FROM `notifications`;
/*!40000 ALTER TABLE `notifications` DISABLE KEYS */; /*!40000 ALTER TABLE `notifications` DISABLE KEYS */;
/*!40000 ALTER TABLE `notifications` ENABLE KEYS */; /*!40000 ALTER TABLE `notifications` ENABLE KEYS */;
...@@ -991,6 +989,7 @@ CREATE TABLE IF NOT EXISTS `password_resets` ( ...@@ -991,6 +989,7 @@ CREATE TABLE IF NOT EXISTS `password_resets` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.password_resets: ~0 rows (approximately) -- Dumping data for table rms_db.password_resets: ~0 rows (approximately)
DELETE FROM `password_resets`;
/*!40000 ALTER TABLE `password_resets` DISABLE KEYS */; /*!40000 ALTER TABLE `password_resets` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_resets` ENABLE KEYS */; /*!40000 ALTER TABLE `password_resets` ENABLE KEYS */;
...@@ -1009,6 +1008,7 @@ CREATE TABLE IF NOT EXISTS `permissions` ( ...@@ -1009,6 +1008,7 @@ CREATE TABLE IF NOT EXISTS `permissions` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.permissions: ~0 rows (approximately) -- Dumping data for table rms_db.permissions: ~0 rows (approximately)
DELETE FROM `permissions`;
/*!40000 ALTER TABLE `permissions` DISABLE KEYS */; /*!40000 ALTER TABLE `permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `permissions` ENABLE KEYS */; /*!40000 ALTER TABLE `permissions` ENABLE KEYS */;
...@@ -1027,6 +1027,7 @@ CREATE TABLE IF NOT EXISTS `roles` ( ...@@ -1027,6 +1027,7 @@ CREATE TABLE IF NOT EXISTS `roles` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.roles: ~0 rows (approximately) -- Dumping data for table rms_db.roles: ~0 rows (approximately)
DELETE FROM `roles`;
/*!40000 ALTER TABLE `roles` DISABLE KEYS */; /*!40000 ALTER TABLE `roles` DISABLE KEYS */;
/*!40000 ALTER TABLE `roles` ENABLE KEYS */; /*!40000 ALTER TABLE `roles` ENABLE KEYS */;
...@@ -1047,6 +1048,7 @@ CREATE TABLE IF NOT EXISTS `role_permissions` ( ...@@ -1047,6 +1048,7 @@ CREATE TABLE IF NOT EXISTS `role_permissions` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.role_permissions: ~0 rows (approximately) -- Dumping data for table rms_db.role_permissions: ~0 rows (approximately)
DELETE FROM `role_permissions`;
/*!40000 ALTER TABLE `role_permissions` DISABLE KEYS */; /*!40000 ALTER TABLE `role_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `role_permissions` ENABLE KEYS */; /*!40000 ALTER TABLE `role_permissions` ENABLE KEYS */;
...@@ -1067,6 +1069,7 @@ CREATE TABLE IF NOT EXISTS `status_set` ( ...@@ -1067,6 +1069,7 @@ CREATE TABLE IF NOT EXISTS `status_set` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table rms_db.status_set: ~0 rows (approximately) -- Dumping data for table rms_db.status_set: ~0 rows (approximately)
DELETE FROM `status_set`;
/*!40000 ALTER TABLE `status_set` DISABLE KEYS */; /*!40000 ALTER TABLE `status_set` DISABLE KEYS */;
/*!40000 ALTER TABLE `status_set` ENABLE KEYS */; /*!40000 ALTER TABLE `status_set` ENABLE KEYS */;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment