-
Notifications
You must be signed in to change notification settings - Fork 0
/
helper.sql
149 lines (127 loc) · 17.5 KB
/
helper.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
-- MySQL dump 10.17 Distrib 10.3.22-MariaDB, for debian-linux-gnueabihf (armv8l)
--
-- Host: localhost Database: helper
-- ------------------------------------------------------
-- Server version 10.3.22-MariaDB-0+deb10u1
/*!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 */;
/*!40101 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 */;
--
-- Current Database: `helper`
--
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `helper` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
USE `helper`;
--
-- Table structure for table `assignments`
--
DROP TABLE IF EXISTS `assignments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `assignments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`chore_id` int(11) DEFAULT NULL,
`person_id` int(11) DEFAULT NULL,
`assignmentDate` datetime DEFAULT NULL,
`completionDate` datetime DEFAULT NULL,
`completedBy_id` int(11) DEFAULT NULL,
`lastReminder` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `chore_id` (`chore_id`),
KEY `person_id` (`person_id`),
KEY `completedBy_id` (`completedBy_id`),
CONSTRAINT `assignments_ibfk_1` FOREIGN KEY (`chore_id`) REFERENCES `chores` (`id`),
CONSTRAINT `assignments_ibfk_2` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`),
CONSTRAINT `assignments_ibfk_3` FOREIGN KEY (`completedBy_id`) REFERENCES `person` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=155 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `assignments`
--
LOCK TABLES `assignments` WRITE;
/*!40000 ALTER TABLE `assignments` DISABLE KEYS */;
INSERT INTO `assignments` VALUES (1,1,2,'2020-02-21 05:49:44','2020-02-21 20:55:44',2,'2020-02-21 05:49:44'),(2,1,1,'2020-02-22 21:23:11','2020-02-23 09:24:12',1,'2020-02-22 21:23:11'),(3,1,4,'2020-02-23 02:15:15','2020-02-27 02:22:38',4,'2020-02-26 09:39:59'),(5,1,2,'2020-02-28 02:20:00','2020-02-28 22:20:12',2,'2020-02-28 02:30:00'),(6,1,3,'2020-02-29 22:29:59','2020-02-29 23:32:27',3,'2020-02-29 22:29:59'),(7,1,2,'2020-03-01 23:39:59','2020-03-02 23:28:23',2,'2020-03-01 23:39:59'),(8,1,3,'2020-03-03 23:30:00','2020-03-05 01:15:52',3,'2020-03-04 23:30:00'),(10,1,1,'2020-03-06 02:19:58','2020-03-09 02:49:00',1,'2020-03-09 02:29:59'),(11,2,1,'2020-03-07 04:19:59','2020-03-11 01:08:41',1,'2020-03-10 04:20:00'),(12,3,1,'2020-03-07 04:20:00','2020-04-11 22:30:00',2,'2020-04-06 04:26:28'),(13,4,3,'2020-03-07 04:20:00','2020-03-21 15:37:17',3,'2020-03-21 04:24:11'),(14,5,3,'2020-03-07 04:29:59','2020-04-11 22:30:09',2,'2020-03-07 04:29:59'),(15,6,3,'2020-03-07 04:29:59','2020-04-06 00:43:31',3,'2020-04-04 05:49:26'),(16,7,3,'2020-03-07 04:29:59','2020-04-11 22:30:16',2,'2020-04-06 04:36:28'),(17,8,4,'2020-03-07 04:30:00','2020-03-13 00:00:06',4,'2020-03-11 04:30:00'),(18,9,3,'2020-03-07 04:30:00','2020-03-24 20:06:05',3,'2020-03-21 05:34:11'),(19,10,3,'2020-03-07 04:30:00','2020-04-08 19:10:25',3,'2020-04-06 04:36:29'),(20,11,2,'2020-03-07 04:30:04','2020-03-15 21:47:28',2,'2020-03-14 05:27:46'),(21,12,2,'2020-03-07 04:30:05','2020-03-15 21:47:29',2,'2020-03-14 05:27:46'),(22,13,1,'2020-03-07 04:30:05','2020-03-15 21:47:00',1,'2020-03-14 05:27:51'),(23,14,1,'2020-03-07 04:40:04','2020-04-11 22:30:20',2,'2020-04-06 04:46:28'),(24,15,4,'2020-03-07 04:40:04','2020-03-23 18:25:49',2,'2020-03-17 04:47:46'),(25,16,4,'2020-03-07 04:40:05','2020-04-08 02:40:15',2,'2020-04-06 04:56:28'),(26,17,3,'2020-03-07 04:40:05','2020-03-07 04:50:31',3,'2020-03-07 04:40:05'),(27,18,3,'2020-03-07 04:40:06','2020-04-21 18:59:25',3,'2020-04-06 04:46:28'),(28,19,3,'2020-03-07 04:40:06','2020-03-30 23:13:09',3,'2020-03-21 04:44:11'),(29,20,3,'2020-03-07 04:40:10','2020-03-11 01:09:24',3,'2020-03-07 04:40:10'),(30,1,2,'2020-03-10 02:49:59','2020-03-11 00:52:01',2,'2020-03-10 02:49:59'),(32,1,3,'2020-03-12 00:59:59','2020-03-15 02:13:21',3,'2020-03-15 01:07:46'),(34,2,2,'2020-03-14 01:10:00','2020-03-20 20:53:32',2,'2020-03-20 01:25:14'),(36,17,3,'2020-03-14 05:27:45','2020-03-21 15:37:37',3,'2020-03-21 05:34:11'),(37,1,2,'2020-03-16 02:17:45','2020-03-16 22:32:12',2,'2020-03-16 02:17:45'),(38,8,4,'2020-03-17 00:07:45','2020-05-31 23:02:22',4,'2020-05-28 02:00:02'),(39,1,3,'2020-03-17 22:37:45','2020-03-19 00:52:52',1,'2020-03-18 22:37:46'),(40,1,2,'2020-03-20 00:54:10','2020-03-21 00:54:20',2,'2020-03-21 00:54:10'),(41,1,3,'2020-03-22 01:04:10','2020-03-23 18:26:21',3,'2020-03-23 01:04:11'),(42,11,4,'2020-03-22 21:54:10','2020-04-01 14:25:48',4,'2020-03-29 21:59:26'),(43,12,1,'2020-03-22 21:54:11','2020-06-14 23:10:52',1,'2020-06-14 22:50:02'),(44,13,3,'2020-03-22 21:54:11','2020-03-30 23:13:16',3,'2020-03-29 21:59:26'),(45,2,3,'2020-03-23 20:54:10','2020-03-24 20:06:12',3,'2020-03-23 20:54:10'),(46,1,2,'2020-03-24 18:34:10','2020-03-24 23:43:16',2,'2020-03-24 18:34:10'),(47,20,2,'2020-03-25 01:14:10','2020-04-19 20:01:45',2,'2020-04-08 01:16:28'),(48,1,3,'2020-03-25 23:44:10','2020-03-26 23:13:54',3,'2020-03-25 23:44:10'),(49,2,2,'2020-03-27 20:09:25','2020-04-11 22:28:56',1,'2020-04-11 20:36:28'),(50,1,4,'2020-03-27 23:19:25','2020-03-28 23:21:13',1,'2020-03-28 23:19:26'),(51,4,1,'2020-03-28 15:39:25','2020-04-04 19:12:51',1,'2020-04-04 15:39:26'),(52,17,3,'2020-03-28 15:39:26','2020-04-13 04:42:50',3,'2020-04-11 15:46:28'),(53,1,2,'2020-03-29 23:29:25','2020-03-30 23:46:08',2,'2020-03-30 23:29:26'),(54,9,1,'2020-03-31 20:09:25','2020-04-01 14:06:46',4,'2020-03-31 20:09:25'),(55,1,4,'2020-03-31 23:49:25','2020-04-01 13:58:55',4,'2020-03-31 23:49:25'),(56,1,1,'2020-04-02 13:59:25','2020-04-05 00:42:49',1,'2020-04-04 14:09:26'),(57,15,4,'2020-04-02 18:29:25','2020-04-23 17:05:35',4,'2020-04-22 18:36:28'),(58,1,4,'2020-04-06 00:49:25','2020-04-06 22:38:41',3,'2020-04-06 00:49:25'),(59,13,1,'2020-04-06 23:16:27','2020-04-12 01:47:54',3,'2020-04-06 23:16:27'),(60,1,1,'2020-04-07 22:46:27','2020-04-08 14:51:09',1,'2020-04-07 22:46:27'),(61,9,3,'2020-04-08 14:16:27','2020-04-11 16:49:15',3,'2020-04-08 14:16:27'),(62,11,2,'2020-04-08 14:26:27','2020-04-19 20:01:49',2,'2020-04-15 14:26:28'),(63,1,3,'2020-04-09 14:56:27','2020-04-10 17:15:29',3,'2020-04-10 14:56:28'),(64,1,1,'2020-04-11 17:16:27','2020-04-13 04:42:04',1,'2020-04-12 17:16:28'),(65,4,3,'2020-04-11 19:16:28','2020-04-11 22:29:06',1,'2020-04-11 19:16:28'),(66,6,2,'2020-04-13 00:46:27','2020-04-13 00:46:57',3,'2020-04-13 00:46:27'),(67,19,4,'2020-04-13 23:16:27','2020-04-14 00:49:52',1,'2020-04-13 23:16:27'),(68,1,4,'2020-04-14 04:46:27','2020-04-16 19:34:12',2,'2020-04-16 04:46:28'),(69,2,2,'2020-04-14 22:36:27','2020-04-19 20:01:52',2,'2020-04-17 22:36:28'),(70,1,4,'2020-04-17 19:36:27','2020-04-19 18:34:28',3,'2020-04-18 19:36:28'),(71,16,4,'2020-04-18 02:46:27','2020-05-07 04:08:46',4,'2020-04-28 02:46:28'),(72,9,2,'2020-04-18 16:56:27','2020-04-19 20:01:56',2,'2020-04-18 16:56:27'),(73,4,3,'2020-04-18 22:36:27','2020-06-10 22:47:56',1,'2020-06-06 23:00:02'),(74,13,1,'2020-04-19 01:56:27','2020-06-14 02:30:50',1,'2020-06-14 02:30:02'),(75,6,2,'2020-04-20 00:56:28','2020-06-14 02:31:06',1,'2020-06-08 01:30:02'),(76,17,3,'2020-04-20 04:46:27','2020-05-25 05:00:33',3,'2020-05-25 05:00:02'),(77,1,1,'2020-04-20 18:36:28','2020-04-21 03:05:45',1,'2020-04-20 18:36:28'),(78,1,3,'2020-04-22 03:06:27','2020-04-23 17:04:26',3,'2020-04-23 03:06:28'),(79,2,3,'2020-04-22 20:06:27','2020-06-09 21:20:22',3,'2020-06-09 21:20:02'),(80,1,2,'2020-04-24 17:06:28','2020-04-26 20:19:26',2,'2020-04-26 17:06:28'),(81,9,3,'2020-04-26 20:06:27','2020-05-22 20:45:31',3,'2020-05-17 20:06:28'),(82,11,3,'2020-04-26 20:06:28','2020-07-15 00:10:24',3,'2020-07-12 21:18:39'),(83,3,1,'2020-04-26 22:36:27','2020-06-10 22:48:08',2,'2020-05-26 22:40:02'),(84,1,1,'2020-04-27 20:26:27','2020-05-01 01:01:16',1,'2020-04-30 20:26:28'),(86,1,3,'2020-05-02 01:06:27','2020-05-02 16:58:21',3,'2020-05-02 01:06:27'),(87,1,1,'2020-05-03 17:06:27','2020-05-05 14:56:49',1,'2020-05-04 17:06:28'),(88,15,2,'2020-05-03 17:06:28','2020-05-07 04:08:07',4,'2020-05-03 17:06:28'),(89,19,2,'2020-05-03 18:26:28','2020-06-10 23:01:03',1,'2020-05-31 18:30:02'),(90,21,2,'2020-05-03 18:56:28','2020-05-04 01:23:27',2,'2020-05-03 18:56:28'),(91,20,3,'2020-05-03 20:06:28','2020-05-19 01:35:40',3,'2020-05-17 20:06:28'),(92,21,2,'2020-05-05 01:26:27','2020-06-17 18:50:38',2,'2020-06-17 03:30:02'),(93,1,4,'2020-05-06 15:06:27','2020-05-07 04:07:44',4,'2020-05-06 15:06:27'),(94,1,2,'2020-05-08 04:16:28','2020-05-10 00:23:42',2,'2020-05-09 04:16:28'),(95,10,4,'2020-05-08 19:16:28','2020-05-17 23:36:46',4,'2020-05-08 19:16:28'),(96,1,1,'2020-05-11 00:26:27','2020-05-12 01:45:24',1,'2020-05-12 00:26:28'),(97,7,1,'2020-05-11 22:36:27','2020-06-10 22:40:41',2,'2020-06-10 22:40:02'),(98,14,1,'2020-05-11 22:36:28','2020-06-10 22:40:44',2,'2020-06-10 22:40:02'),(99,1,4,'2020-05-13 01:46:27','2020-05-17 23:36:39',4,'2020-05-17 01:46:28'),(100,15,2,'2020-05-17 04:16:27','2020-05-31 22:57:58',4,'2020-05-27 04:20:02'),(101,16,4,'2020-05-17 04:16:28','2020-06-06 04:30:22',2,'2020-06-06 04:30:02'),(102,1,1,'2020-05-18 23:40:01','2020-05-20 19:39:07',1,'2020-05-19 23:40:02'),(103,18,2,'2020-05-21 19:00:01','2020-06-17 18:50:18',2,'2020-05-21 19:00:01'),(104,1,2,'2020-05-21 19:40:01','2020-05-22 19:41:15',2,'2020-05-22 19:40:02'),(105,1,1,'2020-05-23 19:50:01','2020-05-24 04:21:38',1,'2020-05-23 19:50:01'),(106,1,2,'2020-05-25 04:30:01','2020-05-26 19:02:32',2,'2020-05-26 04:30:02'),(107,5,3,'2020-05-26 22:40:01','2020-06-10 22:48:26',2,'2020-05-26 22:40:01'),(108,1,4,'2020-05-27 19:10:01','2020-05-31 22:57:37',4,'2020-05-31 19:10:02'),(109,9,2,'2020-05-29 20:50:01','2020-06-17 18:50:31',2,'2020-06-12 21:00:02'),(110,17,3,'2020-06-01 05:10:01','2020-06-22 05:30:28',3,'2020-06-22 05:30:02'),(111,1,3,'2020-06-01 23:00:01','2020-06-03 00:31:20',3,'2020-06-02 23:00:02'),(112,20,2,'2020-06-02 01:40:01',NULL,NULL,'2020-07-14 01:58:39'),(113,1,4,'2020-06-04 00:40:01','2020-06-09 17:13:45',4,'2020-06-09 00:50:02'),(114,8,4,'2020-06-04 23:10:01','2020-07-17 22:05:09',4,'2020-07-15 00:08:39'),(115,1,2,'2020-06-10 17:20:01','2020-06-10 23:48:31',2,'2020-06-10 17:20:01'),(116,15,2,'2020-06-10 23:00:01','2020-06-20 19:46:21',4,'2020-06-10 23:00:01'),(117,1,3,'2020-06-11 23:50:01','2020-06-14 00:21:37',3,'2020-06-14 00:00:02'),(118,2,2,'2020-06-12 21:30:01','2020-06-15 21:30:21',1,'2020-06-15 21:30:02'),(119,1,4,'2020-06-15 00:30:01','2020-06-15 01:31:10',3,'2020-06-15 00:30:01'),(120,1,1,'2020-06-16 01:40:01','2020-06-16 05:01:20',1,'2020-06-16 01:40:01'),(121,16,4,'2020-06-16 04:40:01','2020-07-17 22:04:55',4,'2020-07-16 04:48:39'),(122,10,2,'2020-06-16 23:40:01',NULL,NULL,'2020-07-16 23:48:39'),(123,1,3,'2020-06-17 05:10:01','2020-06-19 22:16:18',3,'2020-06-19 05:20:02'),(124,4,3,'2020-06-17 22:50:01','2020-07-01 22:55:54',1,'2020-07-01 22:55:15'),(125,21,2,'2020-06-18 19:00:01',NULL,NULL,'2020-07-21 20:58:39'),(126,2,3,'2020-06-18 21:40:01','2020-07-05 00:22:26',3,'2020-07-03 22:15:15'),(127,1,4,'2020-06-20 22:20:01','2020-06-30 22:20:01',4,'2020-06-30 23:40:02'),(128,6,3,'2020-06-21 02:40:01','2020-07-19 03:44:42',3,'2020-07-19 02:48:39'),(129,13,3,'2020-06-21 02:40:02','2020-06-29 00:00:50',3,'2020-06-28 02:40:02'),(130,12,2,'2020-06-21 23:20:01','2020-07-19 03:45:17',2,'2020-07-12 23:28:39'),(131,9,3,'2020-06-24 19:00:01','2020-07-15 00:10:32',3,'2020-07-08 19:05:15'),(132,19,3,'2020-06-24 23:10:01','2020-06-29 00:00:44',3,'2020-06-24 23:10:01'),(133,3,1,'2020-06-25 22:50:01','2020-07-18 21:43:06',1,'2020-07-10 22:58:39'),(134,17,3,'2020-06-29 05:40:01','2020-07-15 00:10:17',3,'2020-07-13 05:48:39'),(135,15,2,'2020-06-30 19:50:01',NULL,NULL,'2020-07-20 19:58:39'),(136,1,1,'2020-07-01 22:25:15','2020-07-03 03:10:03',1,'2020-07-02 22:25:15'),(137,1,3,'2020-07-04 03:15:15','2020-07-07 03:15:26',3,'2020-07-07 03:15:15'),(138,13,2,'2020-07-06 00:05:15','2020-07-19 03:45:13',2,'2020-07-13 00:08:39'),(139,2,1,'2020-07-08 00:25:15','2020-07-20 00:29:23',1,'2020-07-20 00:28:39'),(141,4,3,'2020-07-08 23:05:15','2020-07-19 03:45:08',3,'2020-07-15 23:08:39'),(142,1,2,'2020-07-09 03:28:39','2020-07-09 22:55:38',2,'2020-07-09 03:28:39'),(143,7,3,'2020-07-10 22:48:39','2020-07-18 21:42:55',1,'2020-07-10 22:48:39'),(144,14,1,'2020-07-10 22:48:39','2020-07-18 21:42:51',1,'2020-07-10 22:48:39'),(145,1,1,'2020-07-10 22:58:39','2020-07-12 02:57:13',1,'2020-07-11 22:58:39'),(146,19,1,'2020-07-13 00:08:39','2020-07-18 21:42:44',1,'2020-07-13 00:08:39'),(147,1,2,'2020-07-13 02:58:39','2020-07-15 21:50:18',2,'2020-07-15 02:58:39'),(148,1,3,'2020-07-16 21:58:39','2020-07-18 04:35:09',3,'2020-07-17 21:58:39'),(149,18,1,'2020-07-17 18:58:39',NULL,NULL,'2020-07-17 18:58:39'),(150,1,1,'2020-07-19 04:38:39','2020-07-22 05:03:43',1,'2020-07-22 04:40:36'),(151,8,4,'2020-07-21 22:08:39',NULL,NULL,'2020-07-21 22:08:39'),(152,9,1,'2020-07-22 00:18:39',NULL,NULL,'2020-07-22 00:18:39'),(153,11,1,'2020-07-22 00:18:39',NULL,NULL,'2020-07-22 00:18:39'),(154,17,3,'2020-07-22 00:18:39',NULL,NULL,'2020-07-22 00:18:39');
/*!40000 ALTER TABLE `assignments` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `chores`
--
DROP TABLE IF EXISTS `chores`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `chores` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`choreName` varchar(50) DEFAULT NULL,
`desc` varchar(150) DEFAULT NULL,
`frequency` int(11) DEFAULT NULL,
`channel` varchar(18) NOT NULL DEFAULT '627329365520154646',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `chores`
--
LOCK TABLES `chores` WRITE;
/*!40000 ALTER TABLE `chores` DISABLE KEYS */;
INSERT INTO `chores` VALUES (1,'dishes',NULL,1,'627329365520154646'),(2,'sweep kitchen',NULL,3,'627329365520154646'),(3,'mop kitchen',NULL,15,'627329365520154646'),(4,'sweep the front room',NULL,7,'627329365520154646'),(5,'mop the front room',NULL,45,'627329365520154646'),(6,'sweep the dining room',NULL,7,'627329365520154646'),(7,'mop the dining room',NULL,30,'627329365520154646'),(8,'clean dining table',NULL,4,'627329365520154646'),(9,'kitchen counters',NULL,7,'627329365520154646'),(10,'clean out the fridge',NULL,30,'627329365520154646'),(11,'clean downstairs bathroom',NULL,7,'627329365520154646'),(12,'clean downstairs toilet',NULL,7,'627329365520154646'),(13,'sweep living room',NULL,7,'627329365520154646'),(14,'mop living room',NULL,30,'627329365520154646'),(15,'rat cage',NULL,10,'627329365520154646'),(16,'mouse cage',NULL,10,'627329365520154646'),(17,'pig cage',NULL,7,'627329365520154646'),(18,'dust house',NULL,30,'627329365520154646'),(19,'clean rug',NULL,14,'627329365520154646'),(20,'vacuum upstairs carpet',NULL,14,'627329365520154646'),(21,'water flower beds',NULL,1,'627329365520154646');
/*!40000 ALTER TABLE `chores` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `peoplechoreassociation`
--
DROP TABLE IF EXISTS `peoplechoreassociation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `peoplechoreassociation` (
`chore_id` int(11) DEFAULT NULL,
`person_id` int(11) DEFAULT NULL,
KEY `chore_id` (`chore_id`),
KEY `person_id` (`person_id`),
CONSTRAINT `peoplechoreassociation_ibfk_1` FOREIGN KEY (`chore_id`) REFERENCES `chores` (`id`),
CONSTRAINT `peoplechoreassociation_ibfk_2` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `peoplechoreassociation`
--
LOCK TABLES `peoplechoreassociation` WRITE;
/*!40000 ALTER TABLE `peoplechoreassociation` DISABLE KEYS */;
INSERT INTO `peoplechoreassociation` VALUES (1,1),(1,2),(1,3),(2,1),(2,3),(2,2),(3,1),(3,3),(3,2),(4,1),(4,3),(5,1),(5,3),(6,1),(6,3),(6,2),(7,1),(7,3),(7,2),(8,4),(9,4),(9,1),(9,2),(9,3),(10,4),(10,1),(10,2),(10,3),(11,4),(11,1),(11,2),(11,3),(12,4),(12,1),(12,2),(12,3),(13,1),(13,2),(13,3),(14,1),(14,2),(14,3),(15,2),(15,4),(16,4),(17,3),(18,4),(18,1),(18,2),(18,3),(19,1),(19,2),(19,3),(20,3),(20,2),(21,2);
/*!40000 ALTER TABLE `peoplechoreassociation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `person`
--
DROP TABLE IF EXISTS `person`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `person` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(30) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `person`
--
LOCK TABLES `person` WRITE;
/*!40000 ALTER TABLE `person` DISABLE KEYS */;
INSERT INTO `person` VALUES (1,'<@!190676919212179456>'),(4,'<@!207158428227862530>'),(3,'<@!229076685281034240>'),(2,'<@!239931298074853386>');
/*!40000 ALTER TABLE `person` 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 2020-07-23 15:42:23