-- MySQL dump 10.13  Distrib 8.0.37, for Linux (aarch64)
--
-- Host: supered-db-7-cluster.cluster-ro-cxvt2c6kvtqo.ap-southeast-2.rds.amazonaws.com    Database: retirementessentials_uat_mrm_supered_com_au
-- ------------------------------------------------------
-- Server version	5.7.12-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Dumping data for table `folders`
--

LOCK TABLES `folders` WRITE;
/*!40000 ALTER TABLE `folders` DISABLE KEYS */;
REPLACE INTO `folders` (`id`, `name`, `folder_type`, `parent_folder`, `has_child`, `is_group`, `is_dynamic`, `dynamic_query`, `assign_to_id`, `team_id`, `team_set_id`, `created_by`, `modified_by`, `deleted`, `acl_team_set_id`) VALUES ('49bb1d96-78df-11e8-a35e-069940e16132','My Email','inbound',NULL,1,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'inbound\' OR status = \'inbound\') AND assigned_user_id = \'6625f082-60b4-af8c-9805-58410f759379\' AND emails.deleted = \'0\' AND status NOT IN (\'sent\', \'archived\', \'draft\') AND type NOT IN (\'out\', \'archived\', \'draft\')',NULL,'7c55f632-9be3-2765-b28f-58410f5c638a','7c55f632-9be3-2765-b28f-58410f5c638a','6625f082-60b4-af8c-9805-58410f759379','6625f082-60b4-af8c-9805-58410f759379',0,NULL),('49bf3430-78df-11e8-9673-069940e16132','My Drafts','draft','49bb1d96-78df-11e8-a35e-069940e16132',0,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'draft\' OR status = \'draft\') AND assigned_user_id = \'6625f082-60b4-af8c-9805-58410f759379\' AND emails.deleted = \'0\' AND status NOT IN (\'archived\') AND type NOT IN (\'archived\')',NULL,'7c55f632-9be3-2765-b28f-58410f5c638a','7c55f632-9be3-2765-b28f-58410f5c638a','6625f082-60b4-af8c-9805-58410f759379','6625f082-60b4-af8c-9805-58410f759379',0,NULL),('49c1c9fc-78df-11e8-8033-069940e16132','Sent Emails','sent','49bb1d96-78df-11e8-a35e-069940e16132',0,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'out\' OR status = \'sent\') AND assigned_user_id = \'6625f082-60b4-af8c-9805-58410f759379\' AND emails.deleted = \'0\' AND status NOT IN (\'archived\') AND type NOT IN (\'archived\')',NULL,'7c55f632-9be3-2765-b28f-58410f5c638a','7c55f632-9be3-2765-b28f-58410f5c638a','6625f082-60b4-af8c-9805-58410f759379','6625f082-60b4-af8c-9805-58410f759379',0,NULL),('49c43598-78df-11e8-a869-069940e16132','My Archived Email','archived','49bb1d96-78df-11e8-a35e-069940e16132',0,0,1,NULL,NULL,'7c55f632-9be3-2765-b28f-58410f5c638a','7c55f632-9be3-2765-b28f-58410f5c638a','6625f082-60b4-af8c-9805-58410f759379','6625f082-60b4-af8c-9805-58410f759379',0,NULL),('4ad7767a-8743-11e9-84bd-069940e16132','Hello',NULL,NULL,0,1,0,NULL,'56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5','01c436e6-6e13-11ea-b8a9-06fdd77df510','01c436e6-6e13-11ea-b8a9-06fdd77df510','56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5','56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5',0,NULL),('70151a4c-8751-11e9-aef6-069940e16132','My Email','inbound',NULL,1,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'inbound\' OR status = \'inbound\') AND assigned_user_id = \'9c983e8e-5b2b-11e9-aa8e-069940e16132\' AND emails.deleted = \'0\' AND status NOT IN (\'sent\', \'archived\', \'draft\') AND type NOT IN (\'out\', \'archived\', \'draft\')',NULL,'9cc1b296-5b2b-11e9-a65f-069940e16132','9cc1b296-5b2b-11e9-a65f-069940e16132','9c983e8e-5b2b-11e9-aa8e-069940e16132','9c983e8e-5b2b-11e9-aa8e-069940e16132',0,NULL),('7035e696-8751-11e9-97b0-069940e16132','My Drafts','draft','70151a4c-8751-11e9-aef6-069940e16132',0,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'draft\' OR status = \'draft\') AND assigned_user_id = \'9c983e8e-5b2b-11e9-aa8e-069940e16132\' AND emails.deleted = \'0\' AND status NOT IN (\'archived\') AND type NOT IN (\'archived\')',NULL,'9cc1b296-5b2b-11e9-a65f-069940e16132','9cc1b296-5b2b-11e9-a65f-069940e16132','9c983e8e-5b2b-11e9-aa8e-069940e16132','9c983e8e-5b2b-11e9-aa8e-069940e16132',0,NULL),('70382226-8751-11e9-99e7-069940e16132','Sent Emails','sent','70151a4c-8751-11e9-aef6-069940e16132',0,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'out\' OR status = \'sent\') AND assigned_user_id = \'9c983e8e-5b2b-11e9-aa8e-069940e16132\' AND emails.deleted = \'0\' AND status NOT IN (\'archived\') AND type NOT IN (\'archived\')',NULL,'9cc1b296-5b2b-11e9-a65f-069940e16132','9cc1b296-5b2b-11e9-a65f-069940e16132','9c983e8e-5b2b-11e9-aa8e-069940e16132','9c983e8e-5b2b-11e9-aa8e-069940e16132',0,NULL),('703a4308-8751-11e9-8494-069940e16132','My Archived Email','archived','70151a4c-8751-11e9-aef6-069940e16132',0,0,1,NULL,NULL,'9cc1b296-5b2b-11e9-a65f-069940e16132','9cc1b296-5b2b-11e9-a65f-069940e16132','9c983e8e-5b2b-11e9-aa8e-069940e16132','9c983e8e-5b2b-11e9-aa8e-069940e16132',0,NULL),('7b44a636-28c9-11e8-be72-069940e16132','My Email','inbound',NULL,1,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'inbound\' OR status = \'inbound\') AND assigned_user_id = \'160cf834-0a0d-fb26-ef4d-531e805aabab\' AND emails.deleted = \'0\' AND status NOT IN (\'sent\', \'archived\', \'draft\') AND type NOT IN (\'out\', \'archived\', \'draft\')',NULL,'1de83b91-a2ea-7338-8b41-555185ab0232','1de83b91-a2ea-7338-8b41-555185ab0232','160cf834-0a0d-fb26-ef4d-531e805aabab','160cf834-0a0d-fb26-ef4d-531e805aabab',0,NULL),('7b480650-28c9-11e8-9337-069940e16132','My Drafts','draft','7b44a636-28c9-11e8-be72-069940e16132',0,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'draft\' OR status = \'draft\') AND assigned_user_id = \'160cf834-0a0d-fb26-ef4d-531e805aabab\' AND emails.deleted = \'0\' AND status NOT IN (\'archived\') AND type NOT IN (\'archived\')',NULL,'1de83b91-a2ea-7338-8b41-555185ab0232','1de83b91-a2ea-7338-8b41-555185ab0232','160cf834-0a0d-fb26-ef4d-531e805aabab','160cf834-0a0d-fb26-ef4d-531e805aabab',0,NULL),('7b4a2ea8-28c9-11e8-a7a6-069940e16132','Sent Emails','sent','7b44a636-28c9-11e8-be72-069940e16132',0,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'out\' OR status = \'sent\') AND assigned_user_id = \'160cf834-0a0d-fb26-ef4d-531e805aabab\' AND emails.deleted = \'0\' AND status NOT IN (\'archived\') AND type NOT IN (\'archived\')',NULL,'1de83b91-a2ea-7338-8b41-555185ab0232','1de83b91-a2ea-7338-8b41-555185ab0232','160cf834-0a0d-fb26-ef4d-531e805aabab','160cf834-0a0d-fb26-ef4d-531e805aabab',0,NULL),('7b4c8432-28c9-11e8-81c0-069940e16132','My Archived Email','archived','7b44a636-28c9-11e8-be72-069940e16132',0,0,1,NULL,NULL,'1de83b91-a2ea-7338-8b41-555185ab0232','1de83b91-a2ea-7338-8b41-555185ab0232','160cf834-0a0d-fb26-ef4d-531e805aabab','160cf834-0a0d-fb26-ef4d-531e805aabab',0,NULL),('84772a66-3a3f-11e9-8833-069940e16132','My Email','inbound',NULL,1,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'inbound\' OR status = \'inbound\') AND assigned_user_id = \'08aec286-f463-11e7-be74-02e302de0eae\' AND emails.deleted = \'0\' AND status NOT IN (\'sent\', \'archived\', \'draft\') AND type NOT IN (\'out\', \'archived\', \'draft\')',NULL,'08d2d02c-f463-11e7-a683-02e302de0eae','08d2d02c-f463-11e7-a683-02e302de0eae','08aec286-f463-11e7-be74-02e302de0eae','08aec286-f463-11e7-be74-02e302de0eae',0,NULL),('84ac01b4-3a3f-11e9-9060-069940e16132','My Drafts','draft','84772a66-3a3f-11e9-8833-069940e16132',0,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'draft\' OR status = \'draft\') AND assigned_user_id = \'08aec286-f463-11e7-be74-02e302de0eae\' AND emails.deleted = \'0\' AND status NOT IN (\'archived\') AND type NOT IN (\'archived\')',NULL,'08d2d02c-f463-11e7-a683-02e302de0eae','08d2d02c-f463-11e7-a683-02e302de0eae','08aec286-f463-11e7-be74-02e302de0eae','08aec286-f463-11e7-be74-02e302de0eae',0,NULL),('84ae6ea4-3a3f-11e9-91b9-069940e16132','Sent Emails','sent','84772a66-3a3f-11e9-8833-069940e16132',0,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'out\' OR status = \'sent\') AND assigned_user_id = \'08aec286-f463-11e7-be74-02e302de0eae\' AND emails.deleted = \'0\' AND status NOT IN (\'archived\') AND type NOT IN (\'archived\')',NULL,'08d2d02c-f463-11e7-a683-02e302de0eae','08d2d02c-f463-11e7-a683-02e302de0eae','08aec286-f463-11e7-be74-02e302de0eae','08aec286-f463-11e7-be74-02e302de0eae',0,NULL),('84b1810c-3a3f-11e9-87af-069940e16132','My Archived Email','archived','84772a66-3a3f-11e9-8833-069940e16132',0,0,1,NULL,NULL,'08d2d02c-f463-11e7-a683-02e302de0eae','08d2d02c-f463-11e7-a683-02e302de0eae','08aec286-f463-11e7-be74-02e302de0eae','08aec286-f463-11e7-be74-02e302de0eae',0,NULL),('8a2bbf5e-8288-11ed-abbd-9904e0b2c2b1','RE Upgrade MRM',NULL,NULL,0,1,0,NULL,'1','01c436e6-6e13-11ea-b8a9-06fdd77df510','01c436e6-6e13-11ea-b8a9-06fdd77df510','1','1',0,NULL),('efeef860-43ad-11e9-a36c-069940e16132','My Email','inbound',NULL,1,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'inbound\' OR status = \'inbound\') AND assigned_user_id = \'56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5\' AND emails.deleted = \'0\' AND status NOT IN (\'sent\', \'archived\', \'draft\') AND type NOT IN (\'out\', \'archived\', \'draft\')',NULL,'4334033a-8a8a-873c-4c77-555185fe70cd','4334033a-8a8a-873c-4c77-555185fe70cd','56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5','56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5',0,NULL),('eff28e80-43ad-11e9-bb15-069940e16132','My Drafts','draft','efeef860-43ad-11e9-a36c-069940e16132',0,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'draft\' OR status = \'draft\') AND assigned_user_id = \'56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5\' AND emails.deleted = \'0\' AND status NOT IN (\'archived\') AND type NOT IN (\'archived\')',NULL,'4334033a-8a8a-873c-4c77-555185fe70cd','4334033a-8a8a-873c-4c77-555185fe70cd','56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5','56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5',0,NULL),('eff4ef0e-43ad-11e9-a006-069940e16132','Sent Emails','sent','efeef860-43ad-11e9-a36c-069940e16132',0,0,1,'SELECT emails.id polymorphic_id, \'Emails\' polymorphic_module FROM emails\n								   JOIN emails_text on emails.id = emails_text.email_id\n                                   WHERE (type = \'out\' OR status = \'sent\') AND assigned_user_id = \'56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5\' AND emails.deleted = \'0\' AND status NOT IN (\'archived\') AND type NOT IN (\'archived\')',NULL,'4334033a-8a8a-873c-4c77-555185fe70cd','4334033a-8a8a-873c-4c77-555185fe70cd','56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5','56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5',0,NULL),('eff72dc8-43ad-11e9-ae76-069940e16132','My Archived Email','archived','efeef860-43ad-11e9-a36c-069940e16132',0,0,1,NULL,NULL,'4334033a-8a8a-873c-4c77-555185fe70cd','4334033a-8a8a-873c-4c77-555185fe70cd','56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5','56b26ecb-8bda-3fbd-00d6-50c9af4ac5a5',0,NULL);
/*!40000 ALTER TABLE `folders` ENABLE KEYS */;
UNLOCK TABLES;
/*!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 2024-07-02 15:00:13
