-
Notifications
You must be signed in to change notification settings - Fork 0
/
ldi-projecthub Jun-12.sql
1854 lines (1792 loc) · 37.5 KB
/
ldi-projecthub Jun-12.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
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- phpMyAdmin SQL Dump
-- version 4.1.12
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jun 12, 2014 at 12:38 PM
-- Server version: 5.6.16
-- PHP Version: 5.5.11
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: `ldi-projecthub`
--
-- --------------------------------------------------------
--
-- Table structure for table `BlogPosts`
--
CREATE TABLE IF NOT EXISTS `BlogPosts` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`project_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`content` longtext COLLATE utf8_unicode_ci NOT NULL,
`postedTimestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
KEY `IDX_4BC03615166D1F9C` (`project_id`),
KEY `IDX_4BC03615A76ED395` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=6 ;
--
-- Dumping data for table `BlogPosts`
--
INSERT INTO `BlogPosts` (`id`, `project_id`, `user_id`, `title`, `content`, `postedTimestamp`) VALUES
(1, 2, 2, 'This is a test', 'I really wish mysql had a lorem ipsum function', '2014-05-28 01:41:08'),
(2, 2, 7, 'Yet another test', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\r\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\r\nquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\r\nconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\r\ncillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\r\nproident, sunt in culpa qui officia deserunt mollit anim id est laborum.', '2014-05-28 01:41:56'),
(3, 51, 9, 'Test1235431', '<p><span><p><span><strong>The TL;DR (too long didn’t read) Edit</strong></span></p><p>Now this thing is long and I know a lot of you would just like to know what happened to the comic and what’s going to happen, but really don’t care about all the awkward details. I totally get that. I’ve broken this up into clearly titled chunks, so you can scan around and just glance at whatever you like, but for those of you who are in a hurry and just want the ‘<a title="Bart Allen" href="https://dcomixologyssl.sslcs.cdngc.net/i/6790/12748/f1718583cc154743b50243dc4dfe9df1.jpg?h=9902d1ead8a0ddfd01125409a9e121dd" target="_blank" class="f-link"><em>Bart Allen</em></a>’ version of what’s happened, here’s word-for-word, ‘version one’ of this blog post…</p></span><br></p>', '2014-06-03 12:57:52'),
(4, 2, 2, 'Test', '<p><span><h2><a href="https://careerhub.qut.edu.au/workgroups/ldi/blog/welcome-to-the-leadership-development-and-innovati" class="f-link">Welcome to the Leadership, Development and Innovation Program!</a></h2><p>Published 27 May 2014 @ 10:49 AM, by Karlee Davies</p><div><p>For detailed information on the program, please visit the <a href="https://www.student.qut.edu.au/studying/student-life/leadership-and-development/leadership-development-and-innovation-program" class="f-link">QUT LDI Website</a>. To register for the program, complete the <a href="http://careerhub.qut.edu.au/Form.aspx?id=147402" class="f-link">LDI Program Registration Form. </a>To learn more about how to have your experiences recognised and tracked, please read the <a href="http://www.student.qut.edu.au/__data/assets/pdf_file/0017/361502/LDI-Accreditation-Guide.pdf" class="f-link">LDI – Awards Accreditation Manual</a>. </p></div></span><br></p>', '2014-06-04 10:42:37'),
(5, 2, 2, 'Workshop offerings', '<p><span><h1>2014 Workshop Offerings</h1><p><span class="f-img-wrap"><img src="http://careerhub.qut.edu.au/uploads/images/LDI_offerings.JPG" alt="LDI_offerings.JPG"></span></p></span><br></p>', '2014-06-04 11:03:35');
-- --------------------------------------------------------
--
-- Table structure for table `Comments`
--
CREATE TABLE IF NOT EXISTS `Comments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`project_id` int(11) NOT NULL,
`content` varchar(225) COLLATE utf8_unicode_ci NOT NULL,
`postedTimestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`private` tinyint(1) NOT NULL,
PRIMARY KEY (`id`),
KEY `IDX_5BC96BF0A76ED395` (`user_id`),
KEY `IDX_5BC96BF0166D1F9C` (`project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=22 ;
--
-- Dumping data for table `Comments`
--
INSERT INTO `Comments` (`id`, `user_id`, `project_id`, `content`, `postedTimestamp`, `private`) VALUES
(1, 2, 2, 'I would love to park my bike on the edge of the botanic gardens!', '2014-05-24 22:58:47', 0),
(2, 1, 2, 'Lets do this!', '2014-06-01 12:17:04', 0),
(10, 1, 2, 'TEst TESTFred likes to test', '2014-05-30 13:22:38', 0),
(12, 1, 2, 'I am writing a comment', '2014-05-19 15:10:57', 0),
(13, 1, 2, 'wheeeeee', '2014-06-03 22:58:47', 0),
(14, 10, 2, 'I really like this idea ', '2014-06-04 09:43:56', 0),
(15, 10, 2, 'Words ', '2014-06-04 09:47:22', 1),
(16, 2, 2, 'More comments! ', '2014-06-04 10:44:29', 0),
(17, 11, 2, 'Bikes are for noobs ', '2014-06-04 10:58:58', 0),
(18, 1, 2, 'I like bikes lots ', '2014-06-04 12:00:20', 0),
(19, 2, 2, 'Words ', '2014-06-04 12:01:04', 1),
(20, 1, 2, 'dsfadsfs ', '2014-06-12 17:03:33', 1),
(21, 1, 2, 'dasasdfdas ', '2014-06-12 17:11:54', 0);
-- --------------------------------------------------------
--
-- Table structure for table `Projects`
--
CREATE TABLE IF NOT EXISTS `Projects` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`summary` text COLLATE utf8_unicode_ci NOT NULL,
`description` longtext COLLATE utf8_unicode_ci NOT NULL,
`category` varchar(225) COLLATE utf8_unicode_ci NOT NULL,
`skills` longtext COLLATE utf8_unicode_ci NOT NULL COMMENT '(DC2Type:simple_array)',
`featureImageUrl` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'emptyProject.jpg',
`stage` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`createdTimestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`videoType` varchar(25) COLLATE utf8_unicode_ci NOT NULL,
`videoId` varchar(25) COLLATE utf8_unicode_ci NOT NULL,
`fileShareUrl` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`location` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`createdBy_id` int(11) DEFAULT NULL,
`published` tinyint(1) NOT NULL,
`featured` tinyint(1) NOT NULL,
PRIMARY KEY (`id`),
KEY `IDX_E00EE9723174800F` (`createdBy_id`),
KEY `category` (`category`),
FULLTEXT KEY `title` (`title`,`summary`,`description`,`category`,`stage`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=53 ;
--
-- Dumping data for table `Projects`
--
INSERT INTO `Projects` (`id`, `title`, `summary`, `description`, `category`, `skills`, `featureImageUrl`, `stage`, `createdTimestamp`, `videoType`, `videoId`, `fileShareUrl`, `location`, `createdBy_id`, `published`, `featured`) VALUES
(1, 'LDI ProjectHub', 'This very site you''re using!', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', '', '', 'emptyProject.jpg', 'Implementation', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(2, 'More Bike Parking', 'We're campaigning to convince QUT to install easier access bicycle parking! ', '<p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!<span class="f-img-wrap"><br></span> </p>', 'Social & Global Change Project', '', 'fbdead636ad046a79cde2140588f8618b45e0e4e', 'Aspiration', '0000-00-00 00:00:00', '', '', '', '', 0, 1, 1),
(3, 'Implementaion', '', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', '', '', 'emptyProject.jpg', 'Implementation', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(8, 'Boats race for refugees', '', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', 'Social Enterprise', '', 'emptyProject.jpg', 'Implementation', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(9, 'lorem ipsum', '', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', 'Personal Development Project', '', 'emptyProject.jpg', 'Implementation', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(18, 'lorem ipsum', '', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', 'Personal Development Project', '', 'emptyProject.jpg', 'Aspiration', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(19, 'LFG', '', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', '', '', 'emptyProject.jpg', 'Incubation', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(20, 'Incubating eggs!', '', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', '', '', 'emptyProject.jpg', 'Incubation', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(21, 'lorem ipsum', '', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', 'Personal Development Project', '', 'emptyProject.jpg', 'Incubation', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(34, 'We did it, we''re mature', '', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', '', '', 'emptyProject.jpg', 'Maturation', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(35, 'Maturation is da bomb', '', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', 'Personal Development Project', '', 'emptyProject.jpg', 'Maturation', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(36, 'lorem ipsum', '', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', '', '', 'emptyProject.jpg', 'Maturation', '0000-00-00 00:00:00', '', '', '', '', 1, 1, 0),
(37, 'Test', 'I like biscuits', 'lets open a biscuit factoryWords', 'personal excellence', 'tag1,tag2', 'emptyProject.jpg', 'Aspiration', '0000-00-00 00:00:00', '', '', '', 'url', 1, 1, 0),
(51, 'LDI Fruit Store', ' Fruit is much healthier! ', '<p> <br></p><h2>A little bit of context</h2><p><em>[Set the scene. Zoom right out and set the scene for your audience. Many of them will already know this, but it moves their brain into the right frame to introduce what you’re doing.]</em></p><h2>But there’s a problem</h2><p><em>[Explain what the problem is in the current context. Normally there’s something broken in the current context or there’s an opportunity – whichever it is, tell people what the issue is, before you tell them how you’re going to solve (or take advantage of) it.]</em></p><h2>Here’s what we’re doing about it</h2><p><em>[What are you doing to solve the issue? This is where you talk about what you’re going to do. Keep it simple and specific.]</em></p><p>And what you hope to achieve</p><p><em>[How will what you do change the world? Here’s where you talk about how what you’re doing will make a difference.]</em></p><h2>You can join us</h2><p><em>[Every leader needs followers, encourage people to join you! Explain briefly what people can expect to put in and get out]</em></p><p><br></p>', 'Student/Campus Community Project', '', 'emptyProject.jpg', 'Aspiration', '0000-00-00 00:00:00', '', '', '', '', 0, 1, 0),
(52, 'LDI Candy Store', 'You love candy right! Lets get our own candy store :D ', 'A little bit of context[Set the scene. Zoom right out and set the scene for your audience. Many of them will already know this, but it moves their brain into the right frame to introduce what you’re doing.]But there’s a problem[Explain what the problem is in the current context. Normally there’s something broken in the current context or there’s an opportunity – whichever it is, tell people what the issue is, before you tell them how you’re going to solve (or take advantage of) it.]Here’s what we’re doing about it[What are you doing to solve the issue? This is where you talk about what you’re going to do. Keep it simple and specific.] And what you hope to achieve[How will what you do change the world? Here’s where you talk about how what you’re doing will make a difference.]You can join us[Every leader needs followers, encourage people to join you! Explain briefly what people can expect to put in and get out]', 'Business Enterprise', '', 'emptyProject.jpg', 'Aspiration', '0000-00-00 00:00:00', '', '', '', 'GP', 1, 1, 0);
-- --------------------------------------------------------
--
-- Table structure for table `project_likes`
--
CREATE TABLE IF NOT EXISTS `project_likes` (
`project_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`project_id`,`user_id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `project_likes`
--
INSERT INTO `project_likes` (`project_id`, `user_id`) VALUES
(2, 1),
(15, 1),
(18, 1),
(35, 1),
(37, 1),
(2, 2),
(2, 7),
(51, 9),
(2, 10),
(2, 11);
-- --------------------------------------------------------
--
-- Table structure for table `project_requests`
--
CREATE TABLE IF NOT EXISTS `project_requests` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`project_id` int(11) NOT NULL,
`role_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`message` text COLLATE utf8_unicode_ci NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=9 ;
--
-- Dumping data for table `project_requests`
--
INSERT INTO `project_requests` (`id`, `project_id`, `role_id`, `user_id`, `message`, `timestamp`) VALUES
(8, 2, 0, 2, 'I don't knoe what i want todo but let me help lalalala', '2014-06-04 02:52:12');
-- --------------------------------------------------------
--
-- Table structure for table `project_roles`
--
CREATE TABLE IF NOT EXISTS `project_roles` (
`id` int(11) NOT NULL,
`project_id` int(11) NOT NULL,
`title` varchar(225) COLLATE utf8_unicode_ci NOT NULL,
`blurb` text COLLATE utf8_unicode_ci,
`tags` text COLLATE utf8_unicode_ci NOT NULL,
`filled_by` int(11) DEFAULT NULL COMMENT 'user_id',
PRIMARY KEY (`id`),
KEY `project_id` (`project_id`),
KEY `project_id_2` (`project_id`),
KEY `filled_by` (`filled_by`),
FULLTEXT KEY `tags` (`tags`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `project_roles`
--
INSERT INTO `project_roles` (`id`, `project_id`, `title`, `blurb`, `tags`, `filled_by`) VALUES
(1, 2, 'Developer', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Et, omnis, consectetur, perferendis molestias at a unde tenetur atque voluptas sequi nam earum alias aliquid soluta fugiat in consequatur cum minus.', 'php,mysql,html/css', 2),
(2, 2, 'Designer', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. ', 'photoshop,design,watercolours', 7),
(3, 2, 'Database Engineer', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit.', 'mysql,sql,db normalisation', NULL),
(4, 2, 'Photographer', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit.', 'photography,photoshop', NULL),
(5, 2, 'Developer', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Et, omnis, consectetur, perferendis molestias at a unde tenetur atque voluptas sequi nam earum alias aliquid soluta fugiat in consequatur cum minus.', 'php,mysql,html/css', 7);
-- --------------------------------------------------------
--
-- Table structure for table `project_user`
--
CREATE TABLE IF NOT EXISTS `project_user` (
`project_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`role_id` int(11) DEFAULT NULL,
PRIMARY KEY (`project_id`,`user_id`),
KEY `IDX_B4021E51166D1F9C` (`project_id`),
KEY `IDX_B4021E51A76ED395` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `project_user`
--
INSERT INTO `project_user` (`project_id`, `user_id`, `role_id`) VALUES
(2, 1, NULL),
(2, 2, 1),
(2, 7, 2),
(51, 2, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `sessions`
--
CREATE TABLE IF NOT EXISTS `sessions` (
`session_id` int(11) NOT NULL,
`session_data` text COLLATE utf8_unicode_ci NOT NULL,
`session_start` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `tags`
--
CREATE TABLE IF NOT EXISTS `tags` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tag` varchar(25) COLLATE utf8_unicode_ci NOT NULL,
`project_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`role_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `tag` (`tag`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=16 ;
--
-- Dumping data for table `tags`
--
INSERT INTO `tags` (`id`, `tag`, `project_id`, `user_id`, `role_id`) VALUES
(11, '', 51, 0, 0),
(15, '', 2, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(225) COLLATE utf8_unicode_ci NOT NULL,
`last_name` varchar(225) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(225) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(225) COLLATE utf8_unicode_ci NOT NULL,
`blurb` longtext COLLATE utf8_unicode_ci NOT NULL,
`tags` longtext COLLATE utf8_unicode_ci NOT NULL COMMENT '(DC2Type:simple_array)',
`profilePicUrl` varchar(225) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'images/profile/none.png',
`active` tinyint(1) NOT NULL,
`is_admin` tinyint(1) NOT NULL,
`created_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`student_number` int(8) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`),
KEY `email_2` (`email`),
FULLTEXT KEY `tags` (`tags`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=13 ;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `first_name`, `last_name`, `email`, `password`, `blurb`, `tags`, `profilePicUrl`, `active`, `is_admin`, `created_timestamp`, `student_number`) VALUES
(1, 'Jimi', 'Bursaw', '[email protected]', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste, quas aspernatur ipsam numquam magnam minima officia nesciunt deleniti sunt impedit!', 'leadership,project-management', 'jimi.jpg', 1, 1, '2014-06-02 21:26:33', 0),
(2, 'Fred', 'Stark', '[email protected]', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 'From Winterfell', 'words,ldi,qut,organizing,love-of-candy', 'fred.jpg', 1, 0, '2014-06-03 05:16:53', 0),
(7, 'Yancie', 'Ng', '[email protected]', '', '', '', 'none.png', 1, 0, '2014-05-29 01:32:48', 0),
(8, 'Fred', 'Stark', '[email protected]', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 'words', '', '', 0, 0, '0000-00-00 00:00:00', 0),
(9, 'Bobo', 'Da Clown', '[email protected]', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 'sdfsdfsdfsd', 'circus,trapeeze,baking', '0327f3c109fdc3981fd27a11df9c6b78b98123cc', 1, 0, '2014-06-03 02:50:11', 0),
(10, 'test', 'test', '[email protected]', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 'words ', 'cooking?', 'b54d687d288c0bf7f7b685517c121de85db990db', 1, 0, '0000-00-00 00:00:00', 0),
(11, 'Frank', 'Strot', '[email protected]', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 'Words ', 'php,mysql,databases', 'c0194be41a58c93c371ec4c1ce8c3c9ecde3f495', 1, 0, '0000-00-00 00:00:00', 0),
(12, 'Bobo', 'Da Clown', '[email protected]', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', '', '', 'e87541b8150025650f355596bb7ab39fc3021389', 0, 0, '0000-00-00 00:00:00', 0);
-- --------------------------------------------------------
--
-- Table structure for table `user_whitelist`
--
CREATE TABLE IF NOT EXISTS `user_whitelist` (
`student_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `user_whitelist`
--
INSERT INTO `user_whitelist` (`student_id`) VALUES
(422061),
(702382),
(959383),
(1256823),
(1395696),
(1448145),
(1565842),
(1589296),
(1630776),
(1816497),
(2213001),
(2340208),
(2373025),
(2584450),
(4167325),
(4263405),
(4426975),
(4459237),
(4462696),
(4687949),
(4700937),
(4714792),
(4724682),
(4741978),
(4870387),
(4933753),
(5054974),
(5059356),
(5092248),
(5139627),
(5341035),
(5341272),
(5350786),
(5367352),
(5401526),
(5610044),
(5619432),
(5686563),
(5696488),
(5725402),
(5725682),
(5726735),
(5736102),
(5740487),
(5761662),
(5766478),
(5772427),
(5928869),
(5997526),
(6066003),
(6231462),
(6240607),
(6250122),
(6254403),
(6304443),
(6313132),
(6334016),
(6334342),
(6339794),
(6348947),
(6352065),
(6357695),
(6357717),
(6362605),
(6371477),
(6389848),
(6536425),
(6542832),
(6606377),
(6751768),
(6781977),
(6782132),
(6783252),
(6785379),
(6796435),
(6804675),
(6804934),
(6817793),
(6828183),
(6841562),
(6853013),
(6856349),
(6860028),
(6861857),
(6863418),
(6864686),
(6868355),
(6869254),
(6870856),
(6878865),
(6879136),
(6881394),
(6882552),
(6887309),
(6887759),
(6890814),
(6891012),
(6894747),
(6896847),
(6909922),
(6915027),
(6930069),
(6935745),
(6936482),
(6938787),
(6960723),
(6982913),
(6984304),
(6991955),
(7000588),
(7007434),
(7011458),
(7019432),
(7024142),
(7052359),
(7066058),
(7066937),
(7069766),
(7073194),
(7080727),
(7082304),
(7083602),
(7084617),
(7085923),
(7086024),
(7092318),
(7096844),
(7106084),
(7106432),
(7107269),
(7110669),
(7117612),
(7121539),
(7123876),
(7128223),
(7129688),
(7130449),
(7135742),
(7139136),
(7152019),
(7152655),
(7161824),
(7167784),
(7169124),
(7170203),
(7171153),
(7171234),
(7171692),
(7171803),
(7171889),
(7172788),
(7173598),
(7174403),
(7176007),
(7178468),
(7179146),
(7179847),
(7180705),
(7180993),
(7181116),
(7182309),
(7182503),
(7182546),
(7183275),
(7184085),
(7184212),
(7184506),
(7185324),
(7186746),
(7186819),
(7187033),
(7187785),
(7188129),
(7189869),
(7190026),
(7191146),
(7191812),
(7192312),
(7192657),
(7193084),
(7196415),
(7197306),
(7198302),
(7198345),
(7198817),
(7199309),
(7199678),
(7202792),
(7202997),
(7204094),
(7204108),
(7204736),
(7205643),
(7206623),
(7207166),
(7207344),
(7207425),
(7207484),
(7208456),
(7209363),
(7210035),
(7211856),
(7212313),
(7213565),
(7213603),
(7213867),
(7214774),
(7215746),
(7219245),
(7219768),
(7219792),
(7224443),
(7224818),
(7228732),
(7239858),
(7241828),
(7242565),
(7290179),
(7291019),
(7291299),
(7291639),
(7292562),
(7292775),
(7302223),
(7314019),
(7326092),
(7328869),
(7353804),
(7359276),
(7363419),
(7364997),
(7368046),
(7369956),
(7372493),
(7379412),
(7379838),
(7384882),
(7386303),
(7386737),
(7393989),
(7395434),
(7411987),
(7458207),
(7458274),
(7458614),
(7458819),
(7459343),
(7460112),
(7460856),
(7462824),
(7463553),
(7464754),
(7464975),
(7465505),
(7465912),
(7466269),
(7466463),
(7467389),
(7468199),
(7469632),
(7469675),
(7469713),
(7470312),
(7470703),
(7472943),
(7482035),
(7486839),
(7492383),
(7492804),
(7492812),
(7495234),
(7495676),
(7496222),
(7496389),
(7497083),
(7497245),
(7498314),
(7499647),
(7501307),
(7501404),
(7502362),
(7504187),
(7504314),
(7505558),
(7512414),
(7518277),
(7519966),
(7520042),
(7520492),
(7520514),
(7520867),
(7522037),
(7522096),
(7523297),
(7524102),
(7524536),
(7525419),
(7525699),
(7525893),
(7527403),
(7528035),
(7528213),
(7528299),
(7528493),
(7528752),
(7529112),
(7529708),
(7530668),
(7530749),
(7530854),
(7531249),
(7531354),
(7531435),
(7531699),
(7531893),
(7531958),
(7532083),
(7532326),
(7532512),
(7532962),
(7533004),
(7533276),
(7535198),
(7536305),
(7536488),
(7537239),
(7537433),
(7538073),
(7538294),
(7538367),
(7538707),
(7538979),
(7539924),
(7540213),
(7540523),
(7540663),
(7541309),
(7541325),
(7542429),
(7542704),
(7542968),
(7544006),
(7545134),
(7545509),
(7545746),
(7546084),
(7546149),
(7549105),
(7551193),
(7551592),
(7553668),
(7554273),
(7554737),
(7556195),
(7557337),
(7557795),
(7559356),
(7559852),
(7560249),
(7560672),
(7561229),
(7561423),
(7563809),
(7567839),
(7571275),
(7571887),
(7571895),
(7571909),
(7571917),
(7576005),
(7581017),
(7581769),
(7584067),
(7585985),
(7589085),
(7596278),
(7597096),
(7599463),
(7604599),
(7607709),
(7608802),
(7609949),
(7616236),
(7629494),
(7632045),
(7635273),
(7640234),
(7646674),
(7659458),
(7660855),
(7666314),
(7668368),
(7670303),
(7687494),
(7689594),
(7689969),
(7696353),
(7703872),
(7706006),
(8001626),
(8001782),
(8002401),
(8003262),
(8003301),
(8003823),
(8004927),
(8004994),
(8005940),
(8006199),
(8008493),
(8008809),
(8011052),
(8012539),
(8013276),
(8016411),
(8016801),
(8017395),
(8017620),
(8018081),
(8019452),
(8020744),
(8021473),
(8021503),
(8024707),
(8024855),
(8036063),
(8038562),
(8039101),
(8048886),
(8050147),
(8050686),
(8051046),
(8051437),
(8086265),
(8087032),
(8087903),
(8088284),
(8088357),
(8089035),
(8090459),
(8091552),
(8091943),
(8093458),
(8097852),
(8097861),
(8098549),
(8099910),
(8100136),
(8101515),
(8101591),
(8104034),
(8104042),
(8104735),
(8275807),
(8275858),
(8276072),
(8276595),
(8276617),
(8277117),
(8277460),
(8277478),
(8277648),
(8277770),
(8279888),
(8280045),
(8280142),
(8280509),
(8280592),
(8281122),
(8281912),
(8283001),
(8284377),
(8284407),
(8284601),
(8285110),
(8285519),
(8286078),
(8286574),
(8287091),
(8290725),
(8293031),
(8294658),
(8295409),
(8295476),
(8296031),
(8297959),
(8298831),
(8299137),
(8299412),
(8299650),
(8300054),
(8301671),
(8301964),
(8302979),
(8303380),
(8303550),
(8303592),
(8303771),
(8304068),
(8304246),
(8304904),
(8305749),
(8306401),
(8306478),
(8306702),
(8306788),
(8307032),
(8307652),
(8308241),
(8308403),
(8308560),
(8309281),
(8310491),
(8310548),
(8310645),
(8310858),
(8310971),
(8311501),
(8311528),
(8311552),
(8311986),
(8312273),
(8312494),
(8313458),
(8314900),
(8315400),
(8315515),
(8316414),
(8316571),
(8317399),
(8317402),
(8317763),
(8317780),
(8317801),
(8317887),
(8318182),
(8318255),
(8318298),
(8318522),
(8318948),
(8319286),
(8319472),
(8319511),
(8319545),
(8319898),
(8319952),
(8320047),
(8320233),
(8321400),
(8322121),
(8322384),
(8323241),
(8324026),
(8324379),
(8324395),
(8324603),
(8324832),
(8327157),
(8327645),
(8327891),
(8327963),
(8328609),
(8328838),
(8328978),
(8330531),
(8331171),
(8331278),
(8331685),
(8331944),
(8331987),
(8332843),
(8332916),
(8333360),
(8333548),
(8333700),
(8333921),
(8334030),
(8334293),
(8334307),
(8334382),
(8334536),
(8334633),
(8334676),
(8334714),
(8353034),
(8353255),
(8355401),
(8356581),
(8360189),
(8361703),
(8361878),
(8362025),
(8365491),
(8368244),
(8382247),
(8382476),
(8382832),
(8384410),
(8384916),
(8388458),
(8390941),
(8401454),
(8401853),
(8401861),
(8402124),
(8402388),
(8402434),
(8403481),
(8403759),
(8405832),
(8406821),
(8411590),
(8412634),
(8418730),
(8422087),
(8424942),
(8429502),
(8441499),
(8443041),
(8444277),
(8445419),
(8445851),
(8450218),
(8452148),
(8452598),
(8468192),
(8479437),
(8480290),
(8484163),
(8484988),
(8485097),
(8489548),
(8490333),
(8490384),
(8490601),
(8491691),
(8492000),
(8492247),
(8494436),
(8496218),
(8498717),
(8499977),
(8500991),
(8501530),
(8503168),
(8503346),
(8503699),
(8511420),
(8513406),
(8515450),
(8518211),
(8535833),
(8536651),
(8539391),
(8539839),
(8539880),
(8540209),
(8543232),
(8545430),
(8546436),
(8546657),
(8546801),
(8547700),
(8548277),