[BLOB]','2023-08-07 05:44:22',NULL),
(10,15,'[BLOB]','2023-08-07 05:44:22',NULL),
(11,14,'[BLOB]','2023-08-07 05:44:22',NULL);

--
-- Table structure for table `team_details`
--

CREATE TABLE `team_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `team_id` int(11) NOT NULL,
  `description` text DEFAULT NULL,
  `History_link` varchar(255) DEFAULT NULL,
  `city` varchar(255) DEFAULT NULL,
  `country` varchar(255) DEFAULT NULL,
  `phone_number` varchar(255) DEFAULT NULL,
  `street` varchar(255) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` datetime DEFAULT current_timestamp(),
  `birthday` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `team_details`
--


--
-- Table structure for table `team_documents`
--

CREATE TABLE `team_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` datetime DEFAULT current_timestamp(),
  `team_id` int(11) NOT NULL,
  `document_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `team_documents`
--


--
-- Table structure for table `team_event_type`
--

CREATE TABLE `team_event_type` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` datetime DEFAULT current_timestamp(),
  `team_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `team_event_type`
--


--
-- Table structure for table `team_events`
--

CREATE TABLE `team_events` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `event_date` datetime NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` datetime DEFAULT current_timestamp(),
  `start_date` datetime NOT NULL,
  `end_date` datetime NOT NULL,
  `team_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `team_events`
--


--
-- Table structure for table `teams`
--

CREATE TABLE `teams` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(155) DEFAULT NULL,
  `fullname` varchar(155) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `teams`
--


--
-- Table structure for table `user_details`
--

CREATE TABLE `user_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `street` varchar(255) DEFAULT NULL,
  `city` varchar(255) DEFAULT NULL,
  `country` varchar(255) DEFAULT NULL,
  `house_number` int(11) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `birthday` date DEFAULT NULL,
  `zip_code` int(11) DEFAULT NULL,
  `platz` varchar(255) DEFAULT NULL,
  `sharebirthday` int(11) DEFAULT NULL,
  `bd_notification` varchar(45) DEFAULT NULL,
  `more_info` varchar(500) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `user_details`
--


--
-- Table structure for table `user_groups`
--

CREATE TABLE `user_groups` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `group_id` int(11) DEFAULT NULL,
  `approved_status` int(11) DEFAULT NULL,
  `read_status` int(11) NOT NULL DEFAULT 1,
  `group_updated_status` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=86 DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `user_groups`
--

INSERT INTO `user_groups` VALUES
(3,2,2,0,1,0),
(4,1,2,1,1,0),
(7,2,3,0,1,0),
(9,1,3,1,1,0),
(14,4,3,1,1,0),
(17,6,3,1,1,0),
(23,1,6,1,1,0),
(24,6,6,1,1,0),
(25,8,6,1,1,0),
(26,9,6,1,1,0),
(27,7,6,1,1,0),
(28,4,6,1,1,0),
(29,9,7,0,1,0),
(30,8,7,0,1,0),
(31,1,7,1,1,0),
(32,7,7,0,1,0),
(33,6,7,0,1,0),
(34,4,7,1,1,0),
(35,6,8,0,1,0),
(36,7,8,0,1,0),
(37,8,8,0,1,0),
(38,9,8,0,1,0),
(39,1,8,1,1,0),
(48,4,4,0,1,0),
(49,1,4,1,1,0),
(50,4,4,0,1,0),
(51,6,4,0,1,0),
(58,7,11,1,1,0),
(59,8,11,1,1,0),
(61,7,12,0,1,1),
(62,6,12,0,1,1),
(64,9,12,1,1,1),
(65,1,11,1,1,0),
(67,32,13,1,1,1),
(69,32,14,1,1,0),
(70,9,15,1,1,0),
(71,8,15,1,1,0),
(72,7,15,0,1,0),
(73,1,15,1,1,0),
(74,34,16,1,1,0),
(75,33,16,1,1,0),
(76,34,17,0,1,0),
(77,33,17,1,1,0),
(80,19,14,0,1,0);

--
-- Table structure for table `vcloud_push_notification`
--

CREATE TABLE `vcloud_push_notification` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `survey_id` int(11) NOT NULL,
  `survey` varchar(264) NOT NULL,
  `author` int(11) NOT NULL,
  `to_user` longtext NOT NULL,
  `timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `vcloud_push_notification`
--

INSERT INTO `vcloud_push_notification` VALUES
(1,0,'Festival survey',4,'[{\"userId\":1,\"status\":1},{\"userId\":2,\"status\":1},{\"userId\":4,\"status\":1},{\"userId\":5,\"status\":1},{\"userId\":6,\"status\":1}]','2022-10-21 08:05:09'),
(2,0,'Holiday survey',4,'[{\"userId\":1,\"status\":1},{\"userId\":2,\"status\":1},{\"userId\":4,\"status\":1},{\"userId\":5,\"status\":1},{\"userId\":6,\"status\":1}]','2022-10-21 08:09:26'),
(3,8,'Test Survey123',1,'[{\"userId\":1,\"status\":1},{\"userId\":2,\"status\":1},{\"userId\":4,\"status\":1},{\"userId\":5,\"status\":1},{\"userId\":6,\"status\":1},{\"userId\":7,\"status\":0},{\"userId\":8,\"status\":1},{\"userId\":9,\"status\":1}]','2022-11-16 13:38:44'),
(4,9,'Customer satisfaction survey',1,'[{\"userId\":1,\"status\":1},{\"userId\":2,\"status\":0},{\"userId\":4,\"status\":1},{\"userId\":5,\"status\":1},{\"userId\":6,\"status\":1},{\"userId\":7,\"status\":1},{\"userId\":8,\"status\":1},{\"userId\":9,\"status\":1}]','2022-11-21 11:28:02'),
(5,10,'test1234',4,'[{\"userId\":1,\"status\":1},{\"userId\":2,\"status\":0},{\"userId\":4,\"status\":1},{\"userId\":5,\"status\":1},{\"userId\":6,\"status\":1},{\"userId\":7,\"status\":1},{\"userId\":8,\"status\":1},{\"userId\":9,\"status\":1}]','2022-11-21 13:17:37'),
(6,13,'Testumfrage ',1,'[]','2023-03-15 08:27:45'),
(9,14,' Employee satisfaction survey updated',9,'[{\"userId\":6,\"status\":1},{\"userId\":7,\"status\":1},{\"userId\":8,\"status\":1},{\"userId\":9,\"status\":1},{\"userId\":1,\"status\":1}]','2023-03-17 05:36:07'),
(11,15,'What is your age range?',8,'[{\"userId\":1,\"status\":1},{\"userId\":2,\"status\":0},{\"userId\":4,\"status\":1},{\"userId\":5,\"status\":1},{\"userId\":6,\"status\":0},{\"userId\":7,\"status\":1},{\"userId\":8,\"status\":1},{\"userId\":9,\"status\":1},{\"userId\":17,\"status\":0},{\"userId\":18,\"status\":0}]','2023-03-17 06:16:06'),
(13,16,'Participants ready for Marathon',8,'[{\"userId\":1,\"status\":1},{\"userId\":2,\"status\":0},{\"userId\":4,\"status\":1},{\"userId\":5,\"status\":1},{\"userId\":6,\"status\":0},{\"userId\":7,\"status\":1},{\"userId\":8,\"status\":0},{\"userId\":9,\"status\":0},{\"userId\":17,\"status\":0},{\"userId\":18,\"status\":0}]','2023-03-20 05:05:06'),
(14,17,'Neue Trikotfarbe  ',32,'[{\"userId\":31,\"status\":0},{\"userId\":32,\"status\":0}]','2023-03-20 12:34:23');


