-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdb.sql
executable file
·527 lines (439 loc) · 17.8 KB
/
db.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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
-- phpMyAdmin SQL Dump
-- version 3.4.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 01, 2011 at 07:53 AM
-- Server version: 5.5.16
-- PHP Version: 5.3.8
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 utf8 */;
--
-- Database: `xgamings_connactiv`
--
-- --------------------------------------------------------
--
-- Table structure for table `activities`
--
drop database xgamings_connactiv;
create database xgamings_connactiv;
use xgamings_connactiv;
CREATE TABLE IF NOT EXISTS `activities` (
`ACTIVITY_ID` int(11) NOT NULL AUTO_INCREMENT,
`ACTIVITY_NAME` varchar(20) NOT NULL,
PRIMARY KEY (`ACTIVITY_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ;
--
-- Dumping data for table `activities`
--
INSERT INTO `activities` (`ACTIVITY_ID`, `ACTIVITY_NAME`) VALUES
(1, 'Baseball'),
(2, 'Swimming'),
(3, 'Running'),
(4, 'Shotput'),
(5, 'Quidditch'),
(6, 'ChairSkiing'),
(7, 'Cycling'),
(8, 'Racquetball'),
(9, 'Chess'),
(10, 'Snowboarding'),
(11, 'Diving'),
(12, 'Parkour');
-- --------------------------------------------------------
--
-- Table structure for table `comments`
--
CREATE TABLE IF NOT EXISTS `comments` (
`COMMENT_ID` int(11) NOT NULL AUTO_INCREMENT,
`USER_ID` int(11) NOT NULL,
`CONNACTION_ID` int(11) NOT NULL,
`COMMENT` varchar(4000) NOT NULL,
`COMMENT_DATE` date NOT NULL,
PRIMARY KEY (`COMMENT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
-- --------------------------------------------------------
--
-- Table structure for table `connactions`
--
CREATE TABLE IF NOT EXISTS `connactions` (
`CONNACTION_ID` int(11) NOT NULL AUTO_INCREMENT,
`POST_TIME` date NOT NULL,
`USER_ID` int(11) NOT NULL,
`LOCATION` varchar(255) NOT NULL,
`START_TIME` datetime DEFAULT NULL,
`MESSAGE` varchar(4000) DEFAULT NULL,
`END_TIME` datetime DEFAULT NULL,
`UNIQUE_NETWORK_ID` int(11) NOT NULL,
`IS_PRIVATE` int(11) DEFAULT '0',
PRIMARY KEY (`CONNACTION_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=37 ;
--
-- Dumping data for table `connactions`
--
INSERT INTO `connactions` (`CONNACTION_ID`, `POST_TIME`, `USER_ID`, `LOCATION`, `START_TIME`, `MESSAGE`, `END_TIME`, `UNIQUE_NETWORK_ID`, `IS_PRIVATE`) VALUES
(13, '2011-11-28', 11, 'Cathedral lawn', '2011-11-30 12:00:00', 'Getting cold, bring a hat!', '2011-11-30 13:00:00', 3, 0),
(14, '2011-11-29', 12, 'Forbes and Sennot', '2011-12-01 07:00:00', 'Let us all go run!', '2011-12-01 09:00:00', 3, 0),
(15, '2011-11-30', 13, 'Cathedral', '2011-11-28 10:00:00', 'Testing a past Connaction', '2011-11-28 11:00:00', 3, 0),
(16, '2011-11-30', 11, 'here', '2011-11-28 10:00:00', 'Testing a past Connaction', '2011-11-28 11:00:00', 3, 0),
(17, '2011-11-30', 12, 'This is a very long location string so that we can see what it looks like when someone decides to give very specific directions that are probably not even that useful because they are probably a woman who was a horrible sense of direction and chooses horrible places to meet for connactions. whew!', '2011-11-28 10:00:00', 'Testing a long location', '2011-11-28 11:00:00', 4, 0),
(18, '2011-11-30', 13, 'Cathedral', '2011-11-28 10:00:00', 'This is testing a very long message which I dont really feel like typing out but i will try to bullshit for a little and then i will just start typing random letters GO! adsglkasjdghlaskdjghalsdkjaghlsdkjgahsldgkjadshlvkcjndsflvknjadsvdkljvnlasdkjvnasldkjgadshlgkjashdlgk', '2011-11-28 11:00:00', 3, 0),
(19, '2011-11-30', 11, 'Cathedral', '2011-11-28 10:00:00', 'Testing a private Connaction', '2011-11-28 11:00:00', 3, 1),
(20, '2011-11-30', 12, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 3, 0),
(21, '2011-11-30', 13, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 6, 0),
(22, '2011-11-30', 14, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 7, 0),
(23, '2011-11-30', 15, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 8, 0),
(24, '2011-11-30', 14, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 9, 0),
(25, '2011-11-30', 13, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 10, 0),
(26, '2011-11-30', 11, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 11, 0),
(27, '2011-11-30', 12, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 12, 0),
(28, '2011-11-30', 13, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 13, 0),
(29, '2011-11-30', 14, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 14, 0),
(30, '2011-11-30', 12, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 15, 0),
(31, '2011-11-30', 13, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 16, 0),
(32, '2011-11-30', 14, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 17, 0),
(33, '2011-11-30', 11, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 18, 0),
(34, '2011-11-30', 12, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 19, 0),
(35, '2011-11-30', 13, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 20, 0),
(36, '2011-11-30', 14, 'Cathedral', '2011-11-28 10:00:00', 'Testing a Connaction', '2011-11-28 11:00:00', 21, 0);
-- --------------------------------------------------------
--
-- Table structure for table `connaction_attending`
--
CREATE TABLE IF NOT EXISTS `connaction_attending` (
`USER_ID` int(11) NOT NULL,
`CONNACTION_ID` int(11) NOT NULL,
PRIMARY KEY (`CONNACTION_ID`,`USER_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `connaction_attending`
--
INSERT INTO `connaction_attending` (`USER_ID`, `CONNACTION_ID`) VALUES
(11, 13),
(12, 14),
(13, 15),
(14, 16),
(15, 17),
(16, 18),
(17, 19),
(18, 20),
(17, 21),
(16, 22),
(15, 23),
(14, 24),
(16, 25),
(17, 26);
-- --------------------------------------------------------
--
-- Table structure for table `connaction_requests`
--
CREATE TABLE IF NOT EXISTS `connaction_requests` (
`FROM_USER` int(11) NOT NULL,
`TO_USER` int(11) NOT NULL,
`CONNACTION_ID` int(11) NOT NULL,
`MESSAGE` varchar(4000) DEFAULT NULL,
`APPROVED` int(11) DEFAULT '-1',
`DATE` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`HIDDEN_FOR_FROM` int(1) NOT NULL DEFAULT '0',
`HIDDEN_FOR_TO` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`FROM_USER`,`CONNACTION_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `connaction_requests`
--
INSERT INTO `connaction_requests` (`FROM_USER`, `TO_USER`, `CONNACTION_ID`, `MESSAGE`, `APPROVED`, `DATE`, `HIDDEN_FOR_FROM`, `HIDDEN_FOR_TO`) VALUES
(12, 11, 14, 'I would like to come!', 1, '2011-11-29 01:49:02', 0, 0),
(13, 14, 15, 'Hi can I join!', 2, '2011-11-30 20:21:54', 0, 0),
(14, 11, 16, 'Hi can I join!', 2, '2011-11-30 20:21:54', 0, 0),
(15, 13, 32, 'Hi can I join!', 2, '2011-11-30 20:21:54', 1, 0),
(16, 11, 14, 'Hi can I join!', 2, '2011-11-30 20:21:54', 0, 0),
(13, 14, 20, 'Hi can I join!', 2, '2011-11-30 20:21:54', 1, 1),
(14, 15, 19, 'Hi can I join!', 2, '2011-11-30 20:21:54', 0, 0),
(15, 14, 24, 'Hi can I join!', 2, '2011-11-30 20:21:54', 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `events`
--
CREATE TABLE IF NOT EXISTS `events` (
`EVENT_ID` int(11) NOT NULL AUTO_INCREMENT,
`USER_ID` int(11) NOT NULL,
`NAME` varchar(255) NOT NULL,
`UNIQUE_NETWORK_ID` int(11) NOT NULL,
`MESSAGE` varchar(4000) NOT NULL,
`START` datetime DEFAULT NULL,
`END` datetime DEFAULT NULL,
`LOCATION` varchar(20) DEFAULT NULL,
`RECURRENCE` int(11) DEFAULT NULL,
`APPROVED` int(1) DEFAULT '-1',
`REQUEST_DATE` datetime DEFAULT NULL,
PRIMARY KEY (`EVENT_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;
--
-- Dumping data for table `events`
--
INSERT INTO `events` (`EVENT_ID`, `USER_ID`, `UNIQUE_NETWORK_ID`, `MESSAGE`, `START`, `END`, `LOCATION`, `RECURRENCE`, `APPROVED`) VALUES
(1, 12, 1, 'we are having an event', '0000-00-00 00:00:00', '2011-12-02 20:21:54', 'in pittsburgh', 0, 0),
(2, 14, 2, 'we are having another event', '0000-00-00 00:00:00', '2011-12-02 20:21:54', 'in pittsburgh', 0, 0),
(3, 15, 3, 'we are having big event, we show you good time', '0000-00-00 00:00:00', '2011-12-02 20:21:54', 'in pittsburgh', 0, 0),
(4, 13, 4, 'event for cancer', '0000-00-00 00:00:00', '2011-12-02 20:21:54', 'in pittsburgh', 0, 0),
(5, 18, 5, 'event for aids', '0000-00-00 00:00:00', '2011-12-02 20:21:54', 'in pittsburgh', 0, 0),
(6, 17, 6, 'event for canine retardation', '0000-00-00 00:00:00', '2011-12-02 20:21:54', 'in lawrenceville', 0, 0),
(7, 11, 12, 'we are having an event', '0000-00-00 00:00:00', '2011-12-02 20:21:54', 'in pittsburgh', 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `event_attending`
--
CREATE TABLE IF NOT EXISTS `event_attending` (
`EVENT_ID` int(11) NOT NULL,
`USER_ID` int(11) NOT NULL,
PRIMARY KEY (`EVENT_ID`,`USER_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `favorites`
--
CREATE TABLE IF NOT EXISTS `favorites` (
`USER_ID` int(11) NOT NULL,
`UNIQUE_NETWORK_ID` int(11) NOT NULL,
PRIMARY KEY (`USER_ID`,`UNIQUE_NETWORK_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `favorites`
--
INSERT INTO `favorites` (`USER_ID`, `UNIQUE_NETWORK_ID`) VALUES
(11, 7),
(12, 8),
(12, 16),
(13, 9),
(14, 10),
(15, 11);
-- --------------------------------------------------------
--
-- Table structure for table `friends`
--
CREATE TABLE IF NOT EXISTS `friends` (
`USER1` int(11) NOT NULL,
`USER2` int(11) NOT NULL,
PRIMARY KEY (`USER1`,`USER2`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `friend_requests`
--
CREATE TABLE IF NOT EXISTS `friend_requests` (
`FROM_USER` int(11) NOT NULL,
`TO_USER` int(11) NOT NULL,
`MESSAGE` varchar(4000) DEFAULT NULL,
`IS_ACTIVE` int(11) DEFAULT '-1',
PRIMARY KEY (`FROM_USER`,`TO_USER`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `friend_requests`
--
INSERT INTO `friend_requests` (`FROM_USER`, `TO_USER`, `MESSAGE`, `IS_ACTIVE`) VALUES
(11, 12, 'Lets be friends!', -1),
(11, 13, 'FRIENDS!', -1),
(13, 12, 'friends we are', -1);
-- --------------------------------------------------------
--
-- Table structure for table `messages`
--
CREATE TABLE IF NOT EXISTS `messages` (
`FROM_USER` int(11) NOT NULL,
`TO_USER` int(11) NOT NULL,
`SUBJECT` varchar(100) DEFAULT NULL,
`BODY` varchar(4000) DEFAULT NULL,
`DATE` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`FROM_USER`,`TO_USER`,`DATE`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `messages`
--
INSERT INTO `messages` (`FROM_USER`, `TO_USER`, `SUBJECT`, `BODY`, `DATE`) VALUES
(12, 11, 'Contact info', 'Email: [email protected]\nPhone: \n', '2011-11-30 14:12:23'),
(12, 11, 'Contact info', 'Email: [email protected]\nPhone: \n', '2011-11-30 14:16:44'),
(13, 12, 'Contact info', '', '2011-11-30 15:14:36'),
(14, 13, 'Contact info', '', '2011-11-30 15:17:03'),
(2, 1, 'Welcome', 'Connactiv Welcomes you!', '2011-11-30 15:17:07'),
(12, 12, 'Contact info', '', '2011-11-30 15:17:58'),
(13, 13, 'Contact info', '', '2011-11-30 15:20:23'),
(12, 14, 'Contact info', '', '2011-11-30 15:20:42'),
(12, 11, 'Contact info', '', '2011-11-30 15:21:54');
-- --------------------------------------------------------
--
-- Table structure for table `networks`
--
CREATE TABLE IF NOT EXISTS `networks` (
`NETWORK_ID` int(11) NOT NULL AUTO_INCREMENT,
`AREA` varchar(25) NOT NULL,
`STATE` varchar(2) NOT NULL,
PRIMARY KEY (`NETWORK_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
--
-- Dumping data for table `networks`
--
INSERT INTO `networks` (`NETWORK_ID`, `AREA`, `STATE`) VALUES
(1, 'Oakland', 'PA'),
(2, 'Pittsburgh', 'PA'),
(3, 'Lawrenceville', 'PA'),
(4, 'Erie', 'PA'),
(5, 'Oakland', 'CA'),
(6, 'Uniontown', 'PA');
-- --------------------------------------------------------
--
-- Table structure for table `preferences`
--
CREATE TABLE IF NOT EXISTS `preferences` (
`USER_ID` int(11) NOT NULL,
`SECURITY` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`USER_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `reviews`
--
CREATE TABLE IF NOT EXISTS `reviews` (
`USER_ID` int(11) NOT NULL,
`FROM_USER` int(11) NOT NULL,
`IS_ANONYMOUS` int(11) DEFAULT '0',
`CONNACTION_ID` int(11) NOT NULL,
`IS_POSITIVE` int(11) DEFAULT NULL,
`REVIEW_DATE` date DEFAULT NULL,
`REVIEW` varchar(4000) DEFAULT NULL,
PRIMARY KEY (`FROM_USER`,`CONNACTION_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `reviews`
--
INSERT INTO `reviews` (`USER_ID`, `FROM_USER`, `IS_ANONYMOUS`, `CONNACTION_ID`, `IS_POSITIVE`, `REVIEW_DATE`, `REVIEW`) VALUES
(11, 12, 0, 13, 0, '2011-11-30', 'This is a test review'),
(12, 13, 1, 13, 1, '2011-11-30', 'This is a test review'),
(11, 12, 0, 14, 0, '2011-11-30', 'This is a test review'),
(14, 12, 0, 16, 1, '2011-11-30', 'This is a test review'),
(14, 13, 0, 20, 0, '2011-11-30', 'This is a test review'),
(11, 13, 0, 21, 0, '2011-11-30', 'This is a test review'),
(13, 12, 0, 15, 0, '2011-11-30', 'This is a test review');
-- --------------------------------------------------------
--
-- Table structure for table `unique_networks`
--
CREATE TABLE IF NOT EXISTS `unique_networks` (
`UNIQUE_NETWORK_ID` int(11) NOT NULL AUTO_INCREMENT,
`NETWORK_ID` int(11) DEFAULT NULL,
`ACTIVITY_ID` int(11) DEFAULT NULL,
PRIMARY KEY (`UNIQUE_NETWORK_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=21 ;
--
-- Dumping data for table `unique_networks`
--
INSERT INTO `unique_networks` (`UNIQUE_NETWORK_ID`, `NETWORK_ID`, `ACTIVITY_ID`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 2, 1),
(5, 2, 2),
(6, 2, 3),
(7, 1, 1),
(8, 1, 2),
(9, 1, 3),
(10, 1, 4),
(11, 2, 6),
(12, 2, 8),
(13, 1, 12),
(14, 2, 9),
(15, 2, 7),
(16, 2, 5),
(17, 3, 2),
(18, 3, 3),
(19, 4, 4),
(20, 5, 8);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`USER_ID` int(11) NOT NULL AUTO_INCREMENT,
`PASSWORD` varchar(100) NOT NULL,
`FIRST_NAME` char(20) DEFAULT NULL,
`LAST_NAME` char(20) DEFAULT NULL,
`STREET` varchar(25) DEFAULT NULL,
`CITY` char(20) DEFAULT NULL,
`STATE` char(2) DEFAULT NULL,
`ZIP` int(11) DEFAULT NULL,
`PHONE` char(12) DEFAULT NULL,
`INTERESTS` varchar(4000) DEFAULT NULL,
`PROFILE_PIC` varchar(45) NOT NULL DEFAULT '../public/images/avatar.png',
`EMAIL` varchar(25) DEFAULT NULL,
`DOB` date DEFAULT NULL,
`GENDER` char(1) DEFAULT NULL,
PRIMARY KEY (`USER_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`USER_ID`, `PASSWORD`, `FIRST_NAME`, `LAST_NAME`, `STREET`, `CITY`, `STATE`, `ZIP`, `PHONE`, `INTERESTS`, `PROFILE_PIC`, `EMAIL`, `DOB`, `GENDER`) VALUES
(11, '8f53e82e508c96115551317048cba97e', 'Rob', 'Filippi', '', 'Pittsburgh', 'PA', 15232, '', 'Hello my name is Rob', '../public/images/avatar.png', '[email protected]', '1989-11-28', 'M'),
(12, '8f53e82e508c96115551317048cba97e', 'Amy', 'Reehl', '', 'Pittsburgh', 'PA', 15232, '', '', '../public/images/avatar.png', '[email protected]', '1992-06-28', 'F'),
(1, '9ae984b8b7e71ee69caf0a7b82b31b1e', '', 'Admin', '', '', '', NULL, '', '', '../public/images/avatar.png', '[email protected]', NULL, NULL),
(2, 'fcf41657f02f88137a1bcf068a32c0a3', 'Guest', 'User', '', 'Pittsburgh', 'PA', NULL, '', '', '../public/images/avatar.png', '[email protected]', NULL, NULL),
(14, '9ae984b8b7e71ee69caf0a7b82b31b1e', 'Fake', 'Mister', '', '', '', NULL, '', '', '../public/images/avatar.png', '[email protected]', NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `user_activities`
--
CREATE TABLE IF NOT EXISTS `user_activities` (
`USER_ID` int(11) NOT NULL,
`ACTIVITY_ID` int(11) NOT NULL,
`LOW_LEVEL` int(11) DEFAULT NULL,
`HIGH_LEVEL` int(11) DEFAULT NULL,
`PREFERRED` int(11) DEFAULT NULL,
`OWN_LEVEL` int(11) DEFAULT NULL,
PRIMARY KEY (`USER_ID`,`ACTIVITY_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_activities`
--
INSERT INTO `user_activities` (`USER_ID`, `ACTIVITY_ID`, `LOW_LEVEL`, `HIGH_LEVEL`, `PREFERRED`, `OWN_LEVEL`) VALUES
(11, 3, 6, 9, 8, 8),
(11, 1, 2, 6, 4, 5),
(2, 6, NULL, NULL, NULL, NULL),
(2, 8, NULL, NULL, NULL, NULL),
(12, 6, NULL, NULL, NULL, NULL),
(12, 2, NULL, NULL, NULL, NULL),
(12, 8, NULL, NULL, NULL, NULL),
(12, 9, NULL, NULL, NULL, NULL),
(13, 1, NULL, NULL, NULL, NULL),
(13, 2, NULL, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `user_networks`
--
CREATE TABLE IF NOT EXISTS `user_networks` (
`USER_ID` int(11) NOT NULL,
`UNIQUE_NETWORK_ID` int(11) NOT NULL,
PRIMARY KEY (`USER_ID`,`UNIQUE_NETWORK_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user_networks`
--
INSERT INTO `user_networks` (`USER_ID`, `UNIQUE_NETWORK_ID`) VALUES
(11, 1),
(11, 2),
(11, 3),
(11, 4),
(11, 6),
(12, 1),
(12, 3),
(13, 2),
(13, 3),
(13, 4),
(14, 1),
(14, 5),
(2,11),
(2,12);
/*!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 */;