-
Notifications
You must be signed in to change notification settings - Fork 0
/
dump.sql
2076 lines (1801 loc) · 230 KB
/
dump.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
-- MySQL dump 10.13 Distrib 5.5.38, for debian-linux-gnu (x86_64)
--
-- Host: 127.0.0.1 Database: ordering_development
-- ------------------------------------------------------
-- Server version 5.5.38-0ubuntu0.12.04.1
/*!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 */;
/*!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 */;
--
-- Table structure for table `addon_subcategories`
--
DROP TABLE IF EXISTS `addon_subcategories`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `addon_subcategories` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`addon_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `addon_subcategories`
--
LOCK TABLES `addon_subcategories` WRITE;
/*!40000 ALTER TABLE `addon_subcategories` DISABLE KEYS */;
/*!40000 ALTER TABLE `addon_subcategories` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `addons`
--
DROP TABLE IF EXISTS `addons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `addons` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`count` float DEFAULT NULL,
`restaurant_id` int(11) DEFAULT NULL,
`menu_category_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `addons`
--
LOCK TABLES `addons` WRITE;
/*!40000 ALTER TABLE `addons` DISABLE KEYS */;
/*!40000 ALTER TABLE `addons` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `addresses`
--
DROP TABLE IF EXISTS `addresses`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `addresses` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`address_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`address_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`street_adress` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`school_id` int(11) DEFAULT NULL,
`building_id` int(11) DEFAULT NULL,
`room_number` int(11) DEFAULT NULL,
`city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`zip_code` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`phone_number` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `addresses`
--
LOCK TABLES `addresses` WRITE;
/*!40000 ALTER TABLE `addresses` DISABLE KEYS */;
INSERT INTO `addresses` VALUES (13,'On Campus','SCHOOL',NULL,2,8,1231,'Karachu','Sindh',54111,1,2147483647,'2014-03-29 22:44:20','2014-04-01 08:10:37'),(14,'Off Campus','Office',NULL,2,7,12321,'Lahore','Punjab',54000,1,NULL,'2014-03-29 22:49:19','2014-03-31 09:53:36'),(15,'On Campus','CIIT Lahore Rawind Road Lahore Pakistan',NULL,2,7,12321,'','',NULL,8,2147483647,'2014-04-01 18:33:10','2014-04-01 18:33:10'),(16,'Off Campus','My Room',NULL,2,NULL,12321,'Lahore','Punjab',54000,8,2147483647,'2014-04-01 20:35:53','2014-04-01 20:35:53'),(17,'On Campus','CIIT Lahore Rawind Road Lahore Pakistan',NULL,2,7,12321,'','',NULL,8,2147483647,'2014-04-01 20:51:31','2014-04-01 20:51:31'),(18,'Off Campus','CIIT Lahore Rawind Road Lahore Pakistan',NULL,2,NULL,12321,'','',NULL,8,2147483647,'2014-04-01 21:45:27','2014-04-01 21:45:27'),(19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,8,NULL,'2014-04-03 07:57:29','2014-04-03 07:57:29'),(20,'On Campus','School Address',NULL,2,7,123,'','',NULL,14,2147483647,'2014-04-08 12:17:34','2014-04-08 12:17:34'),(21,'On Campus','School Address',NULL,2,8,123,'','',NULL,13,2147483647,'2014-04-09 07:12:08','2014-04-09 07:12:08'),(22,'On Campus','SCHOOL',NULL,2,9,1231,'','',NULL,5,2147483647,'2014-04-18 06:41:58','2014-04-18 06:41:58'),(23,'On Campus','SCHOOL',NULL,2,9,1231,'','',NULL,5,2147483647,'2014-04-18 06:54:17','2014-04-18 06:54:17'),(24,'On Campus','SCHOOL',NULL,2,9,1231,'','',NULL,5,2147483647,'2014-04-18 06:55:04','2014-04-18 06:55:04'),(25,'On Campus','CIIT Lahore Rawind Road Lahore Pakistan',NULL,2,10,123,'','',NULL,28,2147483647,'2014-07-04 08:53:57','2014-07-04 08:53:57'),(27,'Off Campus','College Address',NULL,2,NULL,123,'Lahore','Punjab',54000,14,2147483647,'2014-07-08 07:22:42','2014-07-08 07:22:42'),(29,'Off Campus','School Address',NULL,2,NULL,123,'','',NULL,14,2147483647,'2014-07-08 10:14:12','2014-07-08 10:14:12'),(30,'On Campus','School Address','',2,9,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 07:06:38','2014-07-09 07:06:38'),(31,'On Campus','School Address','',2,9,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 07:08:53','2014-07-09 07:08:53'),(32,'On Campus','School Address','',2,9,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 07:10:20','2014-07-09 07:10:20'),(33,'On Campus','School Address','',2,9,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 07:10:34','2014-07-09 07:10:34'),(34,'On Campus','','',2,9,NULL,'','AL',NULL,NULL,23123,'2014-07-09 07:11:33','2014-07-09 07:11:33'),(35,'On Campus','','',2,9,NULL,'','AL',NULL,NULL,23123,'2014-07-09 07:13:11','2014-07-09 07:13:11'),(36,'On Campus','','',2,9,NULL,'','AL',NULL,NULL,23123,'2014-07-09 07:14:40','2014-07-09 07:14:40'),(37,'On Campus','','',2,9,NULL,'','AL',NULL,NULL,23123,'2014-07-09 07:15:10','2014-07-09 07:15:10'),(38,'On Campus','','',2,9,NULL,'','AL',NULL,NULL,23123,'2014-07-09 07:15:37','2014-07-09 07:15:37'),(39,'On Campus','','',NULL,NULL,NULL,'','AL',NULL,NULL,NULL,'2014-07-09 09:09:34','2014-07-09 09:09:34'),(40,'On Campus','','',NULL,NULL,NULL,'','AL',NULL,NULL,NULL,'2014-07-09 09:11:10','2014-07-09 09:11:10'),(41,'On Campus','','',NULL,NULL,NULL,'','AL',NULL,NULL,NULL,'2014-07-09 09:12:32','2014-07-09 09:12:32'),(42,'On Campus','School Address','',2,10,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 09:36:01','2014-07-09 09:36:01'),(43,'On Campus','School Address','',2,10,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 09:37:03','2014-07-09 09:37:03'),(44,'On Campus','School Address','',2,10,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 09:39:54','2014-07-09 09:39:54'),(45,'On Campus','School Address','',2,10,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 09:41:33','2014-07-09 09:41:33'),(46,'On Campus','School Address','',2,10,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 09:42:00','2014-07-09 09:42:00'),(47,'On Campus','School Address','',2,10,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 09:43:28','2014-07-09 09:43:28'),(48,'On Campus','School Address','',2,10,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 09:43:48','2014-07-09 09:43:48'),(49,'On Campus','School Address','',2,10,NULL,'','AL',NULL,NULL,2147483647,'2014-07-09 09:45:01','2014-07-09 09:45:01');
/*!40000 ALTER TABLE `addresses` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `authentications`
--
DROP TABLE IF EXISTS `authentications`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `authentications` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`provider` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`uid` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`provider_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`token_expiration_date` datetime DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `authentications`
--
LOCK TABLES `authentications` WRITE;
/*!40000 ALTER TABLE `authentications` DISABLE KEYS */;
INSERT INTO `authentications` VALUES (1,'facebook','100000495823602',2,'CAADtCfyK6ZBgBANrBYdciFcxzV5lPs1FKPaX07uhpcWQHNBOHQh3bjRpR4ZACspHxCBO2r2taBgEd0Y95ZAsZCPPBTe73C9JLda0TmiIGMC41KsLguCXZAK9IIHJciF1ZAYptZC6ZAIznOf1GWZB6eUPAarCj7HmQ4s6mkgmgxzFYmkxq5BhcQEUu',NULL,'2014-03-06 06:57:12','2014-03-06 06:57:12');
/*!40000 ALTER TABLE `authentications` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `bank_infos`
--
DROP TABLE IF EXISTS `bank_infos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bank_infos` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`bank_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`bank_account_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`routine_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`swift_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`restaurant_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `bank_infos`
--
LOCK TABLES `bank_infos` WRITE;
/*!40000 ALTER TABLE `bank_infos` DISABLE KEYS */;
INSERT INTO `bank_infos` VALUES (7,'Habib Bank','455F45','155','CSAD14',7,'2014-03-06 12:51:17','2014-03-06 12:51:17'),(8,'Habib Bank','455F45','155','CSAD14',8,'2014-03-06 14:49:21','2014-03-06 14:49:21'),(10,'Habib Bank','455F45','155','CSAD14',10,'2014-03-11 07:08:25','2014-03-11 07:08:25'),(14,'Allied Bank','123BCNB','155','CSAD14',14,'2014-04-08 11:10:02','2014-04-10 07:01:59'),(21,'Habib Bank','455F45','155','CSAD14',21,'2014-06-18 10:17:26','2014-06-18 10:17:26');
/*!40000 ALTER TABLE `bank_infos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `banners`
--
DROP TABLE IF EXISTS `banners`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `banners` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`image_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `banners`
--
LOCK TABLES `banners` WRITE;
/*!40000 ALTER TABLE `banners` DISABLE KEYS */;
INSERT INTO `banners` VALUES (3,'2014-06-05 12:16:47','2014-06-05 12:16:47','Main Image'),(4,'2014-06-05 12:31:59','2014-07-04 10:39:16','Slider Image'),(5,'2014-06-05 12:42:49','2014-06-05 12:42:49','Slider Image'),(6,'2014-06-05 12:43:11','2014-07-04 09:22:15','Slider Image'),(7,'2014-07-04 09:22:26','2014-07-04 09:22:26','Slider Image');
/*!40000 ALTER TABLE `banners` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `break_schedules`
--
DROP TABLE IF EXISTS `break_schedules`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `break_schedules` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`opening_time` time DEFAULT NULL,
`closing_time` time DEFAULT NULL,
`sechedule_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=64 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `break_schedules`
--
LOCK TABLES `break_schedules` WRITE;
/*!40000 ALTER TABLE `break_schedules` DISABLE KEYS */;
INSERT INTO `break_schedules` VALUES (43,'00:00:00','00:00:00',316,'2014-06-18 10:17:26','2014-06-19 05:47:16'),(44,'00:00:00','00:00:00',317,'2014-06-18 10:17:26','2014-06-19 05:47:16'),(45,'00:00:00','00:00:00',318,'2014-06-18 10:17:26','2014-06-19 05:47:16'),(46,'00:00:00','00:00:00',319,'2014-06-18 10:17:26','2014-06-19 05:47:16'),(47,'00:00:00','00:00:00',320,'2014-06-18 10:17:26','2014-06-19 05:47:16'),(48,'00:00:00','00:00:00',321,'2014-06-18 10:17:26','2014-06-19 05:47:16'),(49,'00:00:00','00:00:00',322,'2014-06-18 10:17:26','2014-06-19 05:47:16'),(50,'00:00:00','00:00:00',323,'2014-06-18 10:17:26','2014-06-19 05:47:17'),(51,'00:00:00','00:00:00',324,'2014-06-18 10:17:26','2014-06-19 05:47:17'),(52,'00:00:00','00:00:00',325,'2014-06-18 10:17:27','2014-06-19 05:47:17'),(53,'00:00:00','00:00:00',326,'2014-06-18 10:17:27','2014-06-19 05:47:17'),(54,'00:00:00','00:00:00',327,'2014-06-18 10:17:27','2014-06-19 05:47:17'),(55,'00:00:00','00:00:00',328,'2014-06-18 10:17:27','2014-06-19 05:47:17'),(56,'00:00:00','00:00:00',329,'2014-06-18 10:17:27','2014-06-19 05:47:17'),(57,'08:00:00','23:00:00',330,'2014-06-18 10:17:27','2014-07-08 06:13:20'),(58,'00:00:00','00:00:00',331,'2014-06-18 10:17:27','2014-06-19 05:47:17'),(59,'00:00:00','00:00:00',332,'2014-06-18 10:17:27','2014-06-19 05:47:17'),(60,'00:00:00','00:00:00',333,'2014-06-18 10:17:27','2014-06-19 05:47:17'),(61,'00:00:00','00:00:00',334,'2014-06-18 10:17:27','2014-06-19 05:47:17'),(62,'00:00:00','00:00:00',335,'2014-06-18 10:17:27','2014-06-19 05:47:17'),(63,'00:00:00','00:00:00',336,'2014-06-18 10:17:27','2014-06-19 05:47:17');
/*!40000 ALTER TABLE `break_schedules` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `buildings`
--
DROP TABLE IF EXISTS `buildings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `buildings` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`building_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`street_adress` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`school_id` int(11) DEFAULT NULL,
`city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`zip_code` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `buildings`
--
LOCK TABLES `buildings` WRITE;
/*!40000 ALTER TABLE `buildings` DISABLE KEYS */;
INSERT INTO `buildings` VALUES (7,'test','1722 Sacramento St. San Francisco, CA 94109',2,'test','test',1312321,'2014-03-29 19:37:26','2014-07-23 18:19:00'),(9,'Business','1722 Sacramento St. San Francisco, CA 94109',2,'Lahore','Punjab',54000,'2014-04-10 14:32:32','2014-07-23 18:18:33'),(10,'Computer Science','1722 Sacramento St. San Francisco, CA 94109',2,'USA','Francisco',54000,'2014-04-10 14:33:48','2014-07-23 18:18:42'),(11,'Qalma Chowk','CIIT Lahore Rawind Road Lahore Pakistan',2,'Lahore','Punjab',54000,'2014-06-10 07:01:42','2014-07-23 18:19:07'),(12,'Qalma Chowk','CIIT Lahore Rawind Road Lahore Pakistan',2,'Lahore','Punjab',54000,'2014-06-10 07:09:58','2014-06-10 07:09:58');
/*!40000 ALTER TABLE `buildings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `campus_suggestions`
--
DROP TABLE IF EXISTS `campus_suggestions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `campus_suggestions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`last_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`campus_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`street_address` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`zip_code` int(11) DEFAULT NULL,
`comment` text COLLATE utf8_unicode_ci,
`is_viewed` tinyint(1) DEFAULT '0',
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `campus_suggestions`
--
LOCK TABLES `campus_suggestions` WRITE;
/*!40000 ALTER TABLE `campus_suggestions` DISABLE KEYS */;
/*!40000 ALTER TABLE `campus_suggestions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cards`
--
DROP TABLE IF EXISTS `cards`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cards` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`expiration_date` datetime DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`cardholder_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`masked_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`unique_number_identifier` int(11) DEFAULT NULL,
`card_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cards`
--
LOCK TABLES `cards` WRITE;
/*!40000 ALTER TABLE `cards` DISABLE KEYS */;
INSERT INTO `cards` VALUES (5,'2014-07-01 00:00:00',8,NULL,'gqswr2','424242',87369392,'Visa','2014-04-01 19:31:59','2014-04-01 19:31:59'),(6,'2014-10-01 00:00:00',8,NULL,'5y5h5g','555555',7,'MasterCard','2014-04-01 19:32:24','2014-04-01 19:32:24'),(7,'2014-08-01 00:00:00',8,NULL,'gr8yg2','601111',0,'Discover','2014-04-01 21:23:31','2014-04-01 21:23:31'),(8,'2014-08-01 00:00:00',8,NULL,'36598w','601111',0,'Discover','2014-04-01 21:24:35','2014-04-01 21:24:35'),(9,'2016-10-01 00:00:00',8,NULL,'h2nm8b','356600******0505',0,'JCB','2014-04-02 07:07:51','2014-04-02 07:07:51'),(14,'2014-12-01 00:00:00',14,NULL,'9bpps6','371449******8431',2,'American Express','2014-04-08 12:18:13','2014-04-08 12:18:13'),(15,'2014-11-01 00:00:00',1,NULL,'2xhkfg','356600******0505',0,'JCB','2014-04-09 06:42:36','2014-04-09 06:42:36'),(16,'2018-11-01 00:00:00',1,NULL,'kmstxr','371449******8431',2,'American Express','2014-04-09 06:46:41','2014-04-09 06:46:41'),(17,'2014-12-01 00:00:00',1,NULL,'96j5fg','601111******1117',0,'Discover','2014-04-09 06:58:07','2014-04-09 06:58:07'),(18,'2014-12-01 00:00:00',1,NULL,'fxky2m','601111******1117',0,'Discover','2014-04-09 06:59:59','2014-04-09 06:59:59'),(19,'2018-12-01 00:00:00',13,NULL,'dq2p9g','601111******1117',0,'Discover','2014-04-09 07:12:14','2014-04-09 07:12:14'),(20,'2014-06-01 00:00:00',14,NULL,'j8x8xr','424242******4242',87369392,'Visa','2014-04-09 11:39:24','2014-04-09 11:39:24'),(21,'2014-10-01 00:00:00',5,NULL,'drfhyb','601111******1117',0,'Discover','2014-04-18 06:20:38','2014-04-18 06:20:38'),(22,'2015-12-01 00:00:00',14,NULL,'4zx8t2','353011******0000',1,'JCB','2014-06-20 08:33:50','2014-06-20 08:33:50');
/*!40000 ALTER TABLE `cards` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `careers`
--
DROP TABLE IF EXISTS `careers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `careers` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`location` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`responsibilities` text COLLATE utf8_unicode_ci,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `careers`
--
LOCK TABLES `careers` WRITE;
/*!40000 ALTER TABLE `careers` DISABLE KEYS */;
INSERT INTO `careers` VALUES (1,'BRAND AMBASSADOR','TEXAS','-Use our key business goals, market strategies and consumer insights to create innovative plans that drive measurable results.\r\n-Develop marketing programs to drive brand awareness, in-network word of mouth and new customer growth both on a local and national scale.\r\n-Understand our key markets and the cultural drivers/differences in each and leverage that knowledge to build targeted local marketing plans.\r\n-Serve as the project manager in the execution and resource management for key marketing initiatives, ensuring they are executed on time and under budget.\r\n-Use your creative skills to develop stand-alone tactics as well as collaborate on integrated marketing initiatives in a way that brings our brands to life.','2014-07-02 06:23:05','2014-07-02 06:23:05'),(2,'SALES PERSON','CALIFORNIA','-Use our key business goals, market strategies and consumer insights to create innovative plans that drive measurable results.\r\n-Develop marketing programs to drive brand awareness, in-network word of mouth and new customer growth both on a local and national scale.\r\n-Understand our key markets and the cultural drivers/differences in each and leverage that knowledge to build targeted local marketing plans.\r\n-Serve as the project manager in the execution and resource management for key marketing initiatives, ensuring they are executed on time and under budget.\r\n-Use your creative skills to develop stand-alone tactics as well as collaborate on integrated marketing initiatives in a way that brings our brands to life.','2014-07-02 06:24:07','2014-07-02 06:24:07'),(3,'CUSTOMER SERVICE','TEXAS','-Use our key business goals, market strategies and consumer insights to create innovative plans that drive measurable results.\r\n-Develop marketing programs to drive brand awareness, in-network word of mouth and new customer growth both on a local and national scale.\r\n-Understand our key markets and the cultural drivers/differences in each and leverage that knowledge to build targeted local marketing plans.\r\n-Serve as the project manager in the execution and resource management for key marketing initiatives, ensuring they are executed on time and under budget.\r\n-Use your creative skills to develop stand-alone tactics as well as collaborate on integrated marketing initiatives in a way that brings our brands to life.','2014-07-02 06:24:50','2014-07-02 06:24:50'),(4,'test','test','test','2014-07-02 06:31:41','2014-07-02 06:31:41');
/*!40000 ALTER TABLE `careers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cart_menu_item_group_items`
--
DROP TABLE IF EXISTS `cart_menu_item_group_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cart_menu_item_group_items` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cart_menu_item_id` int(11) DEFAULT NULL,
`group_item_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=152 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cart_menu_item_group_items`
--
LOCK TABLES `cart_menu_item_group_items` WRITE;
/*!40000 ALTER TABLE `cart_menu_item_group_items` DISABLE KEYS */;
INSERT INTO `cart_menu_item_group_items` VALUES (24,195,12,'2014-06-19 06:39:18','2014-06-19 06:39:18'),(25,195,14,'2014-06-19 06:39:18','2014-06-19 06:39:18'),(26,196,11,'2014-06-19 06:44:55','2014-06-19 06:44:55'),(27,196,14,'2014-06-19 06:44:55','2014-06-19 06:44:55'),(28,197,12,'2014-06-19 07:28:31','2014-06-19 07:28:31'),(29,197,14,'2014-06-19 07:28:31','2014-06-19 07:28:31'),(30,198,15,'2014-06-19 07:28:36','2014-06-19 07:28:36'),(31,198,16,'2014-06-19 07:28:36','2014-06-19 07:28:36'),(32,198,17,'2014-06-19 07:28:36','2014-06-19 07:28:36'),(33,198,18,'2014-06-19 07:28:36','2014-06-19 07:28:36'),(34,198,19,'2014-06-19 07:28:36','2014-06-19 07:28:36'),(35,199,15,'2014-06-19 10:52:03','2014-06-19 10:52:03'),(36,199,16,'2014-06-19 10:52:03','2014-06-19 10:52:03'),(37,199,17,'2014-06-19 10:52:03','2014-06-19 10:52:03'),(38,199,18,'2014-06-19 10:52:03','2014-06-19 10:52:03'),(39,199,19,'2014-06-19 10:52:03','2014-06-19 10:52:03'),(40,200,13,'2014-06-19 11:12:57','2014-06-19 11:12:57'),(41,200,14,'2014-06-19 11:12:57','2014-06-19 11:12:57'),(42,201,15,'2014-06-20 06:30:52','2014-06-20 06:30:52'),(43,201,16,'2014-06-20 06:30:52','2014-06-20 06:30:52'),(44,201,17,'2014-06-20 06:30:52','2014-06-20 06:30:52'),(45,201,18,'2014-06-20 06:30:52','2014-06-20 06:30:52'),(46,201,19,'2014-06-20 06:30:52','2014-06-20 06:30:52'),(47,202,12,'2014-06-20 08:07:43','2014-06-20 08:07:43'),(48,202,14,'2014-06-20 08:07:43','2014-06-20 08:07:43'),(49,203,12,'2014-06-20 08:19:32','2014-06-20 08:19:32'),(50,203,14,'2014-06-20 08:19:32','2014-06-20 08:19:32'),(51,204,12,'2014-06-20 08:23:43','2014-06-20 08:23:43'),(52,204,14,'2014-06-20 08:23:43','2014-06-20 08:23:43'),(53,205,27,'2014-06-20 08:37:10','2014-06-20 08:37:10'),(54,206,13,'2014-06-20 08:55:18','2014-06-20 08:55:18'),(55,206,14,'2014-06-20 08:55:18','2014-06-20 08:55:18'),(56,207,28,'2014-06-25 18:58:20','2014-06-25 18:58:20'),(57,207,29,'2014-06-25 18:58:20','2014-06-25 18:58:20'),(58,207,30,'2014-06-25 18:58:20','2014-06-25 18:58:20'),(59,NULL,28,'2014-07-04 11:06:50','2014-07-04 11:06:50'),(60,NULL,29,'2014-07-04 11:06:50','2014-07-04 11:06:50'),(61,NULL,30,'2014-07-04 11:06:50','2014-07-04 11:06:50'),(62,208,12,'2014-07-07 08:30:05','2014-07-07 08:30:05'),(63,208,14,'2014-07-07 08:30:05','2014-07-07 08:30:05'),(64,NULL,12,'2014-07-07 11:14:35','2014-07-07 11:14:35'),(65,NULL,14,'2014-07-07 11:14:35','2014-07-07 11:14:35'),(66,NULL,13,'2014-07-08 06:38:58','2014-07-08 06:38:58'),(67,NULL,14,'2014-07-08 06:38:58','2014-07-08 06:38:58'),(68,NULL,12,'2014-07-08 06:54:35','2014-07-08 06:54:35'),(69,NULL,14,'2014-07-08 06:54:35','2014-07-08 06:54:35'),(70,NULL,12,'2014-07-08 06:55:42','2014-07-08 06:55:42'),(71,NULL,14,'2014-07-08 06:55:42','2014-07-08 06:55:42'),(72,NULL,12,'2014-07-08 07:00:39','2014-07-08 07:00:39'),(73,NULL,14,'2014-07-08 07:00:39','2014-07-08 07:00:39'),(74,214,13,'2014-07-08 07:10:46','2014-07-08 07:10:46'),(75,214,14,'2014-07-08 07:10:46','2014-07-08 07:10:46'),(76,215,13,'2014-07-08 07:18:45','2014-07-08 07:18:45'),(77,215,14,'2014-07-08 07:18:45','2014-07-08 07:18:45'),(78,NULL,11,'2014-07-08 10:05:37','2014-07-08 10:05:37'),(79,NULL,14,'2014-07-08 10:05:37','2014-07-08 10:05:37'),(80,217,12,'2014-07-08 10:06:30','2014-07-08 10:06:30'),(81,217,14,'2014-07-08 10:06:30','2014-07-08 10:06:30'),(82,218,12,'2014-07-08 10:15:19','2014-07-08 10:15:19'),(83,218,14,'2014-07-08 10:15:19','2014-07-08 10:15:19'),(84,219,13,'2014-07-08 11:01:23','2014-07-08 11:01:23'),(85,219,14,'2014-07-08 11:01:23','2014-07-08 11:01:23'),(86,220,13,'2014-07-08 11:16:46','2014-07-08 11:16:46'),(87,220,14,'2014-07-08 11:16:46','2014-07-08 11:16:46'),(88,221,12,'2014-07-08 11:24:00','2014-07-08 11:24:00'),(89,221,14,'2014-07-08 11:24:00','2014-07-08 11:24:00'),(90,222,13,'2014-07-08 11:26:14','2014-07-08 11:26:14'),(91,222,14,'2014-07-08 11:26:14','2014-07-08 11:26:14'),(92,223,15,'2014-07-08 11:27:19','2014-07-08 11:27:19'),(93,223,16,'2014-07-08 11:27:19','2014-07-08 11:27:19'),(94,223,17,'2014-07-08 11:27:19','2014-07-08 11:27:19'),(95,223,18,'2014-07-08 11:27:19','2014-07-08 11:27:19'),(96,223,19,'2014-07-08 11:27:19','2014-07-08 11:27:19'),(97,224,15,'2014-07-08 11:28:01','2014-07-08 11:28:01'),(98,224,16,'2014-07-08 11:28:01','2014-07-08 11:28:01'),(99,224,17,'2014-07-08 11:28:01','2014-07-08 11:28:01'),(100,224,18,'2014-07-08 11:28:01','2014-07-08 11:28:01'),(101,224,19,'2014-07-08 11:28:01','2014-07-08 11:28:01'),(102,225,15,'2014-07-08 11:31:22','2014-07-08 11:31:22'),(103,225,16,'2014-07-08 11:31:22','2014-07-08 11:31:22'),(104,225,17,'2014-07-08 11:31:22','2014-07-08 11:31:22'),(105,225,18,'2014-07-08 11:31:22','2014-07-08 11:31:22'),(106,225,19,'2014-07-08 11:31:22','2014-07-08 11:31:22'),(107,226,13,'2014-07-08 11:58:39','2014-07-08 11:58:39'),(108,226,14,'2014-07-08 11:58:39','2014-07-08 11:58:39'),(109,227,25,'2014-07-08 12:05:16','2014-07-08 12:05:16'),(110,227,26,'2014-07-08 12:05:16','2014-07-08 12:05:16'),(111,227,27,'2014-07-08 12:05:16','2014-07-08 12:05:16'),(112,228,13,'2014-07-08 12:05:35','2014-07-08 12:05:35'),(113,228,14,'2014-07-08 12:05:35','2014-07-08 12:05:35'),(114,229,25,'2014-07-09 01:14:04','2014-07-09 01:14:04'),(115,229,26,'2014-07-09 01:14:04','2014-07-09 01:14:04'),(116,229,27,'2014-07-09 01:14:04','2014-07-09 01:14:04'),(117,230,12,'2014-07-09 01:14:19','2014-07-09 01:14:19'),(118,230,14,'2014-07-09 01:14:19','2014-07-09 01:14:19'),(119,231,13,'2014-07-09 05:38:07','2014-07-09 05:38:07'),(120,231,14,'2014-07-09 05:38:07','2014-07-09 05:38:07'),(121,232,25,'2014-07-09 06:11:14','2014-07-09 06:11:14'),(122,232,26,'2014-07-09 06:11:14','2014-07-09 06:11:14'),(123,232,27,'2014-07-09 06:11:14','2014-07-09 06:11:14'),(124,233,12,'2014-07-09 06:47:47','2014-07-09 06:47:47'),(125,233,14,'2014-07-09 06:47:47','2014-07-09 06:47:47'),(126,234,12,'2014-07-09 06:49:40','2014-07-09 06:49:40'),(127,234,14,'2014-07-09 06:49:40','2014-07-09 06:49:40'),(128,235,13,'2014-07-09 08:01:25','2014-07-09 08:01:25'),(129,235,14,'2014-07-09 08:01:25','2014-07-09 08:01:25'),(130,236,13,'2014-07-09 09:22:43','2014-07-09 09:22:43'),(131,236,14,'2014-07-09 09:22:43','2014-07-09 09:22:43'),(132,237,13,'2014-07-09 09:52:25','2014-07-09 09:52:25'),(133,237,14,'2014-07-09 09:52:25','2014-07-09 09:52:25'),(134,238,12,'2014-07-23 05:33:00','2014-07-23 05:33:00'),(135,238,14,'2014-07-23 05:33:00','2014-07-23 05:33:00'),(136,239,25,'2014-07-23 05:57:30','2014-07-23 05:57:30'),(137,239,26,'2014-07-23 05:57:30','2014-07-23 05:57:30'),(138,239,27,'2014-07-23 05:57:30','2014-07-23 05:57:30'),(139,240,12,'2014-07-23 06:51:43','2014-07-23 06:51:43'),(140,240,14,'2014-07-23 06:51:43','2014-07-23 06:51:43'),(141,241,25,'2014-07-23 07:18:45','2014-07-23 07:18:45'),(142,241,26,'2014-07-23 07:18:45','2014-07-23 07:18:45'),(143,241,27,'2014-07-23 07:18:45','2014-07-23 07:18:45'),(144,242,13,'2014-07-23 10:32:53','2014-07-23 10:32:53'),(145,242,14,'2014-07-23 10:32:53','2014-07-23 10:32:53'),(146,243,13,'2014-07-24 08:05:36','2014-07-24 08:05:36'),(147,243,14,'2014-07-24 08:05:36','2014-07-24 08:05:36'),(148,244,13,'2014-07-24 08:13:17','2014-07-24 08:13:17'),(149,244,14,'2014-07-24 08:13:17','2014-07-24 08:13:17'),(150,245,13,'2014-07-24 08:23:47','2014-07-24 08:23:47'),(151,245,14,'2014-07-24 08:23:47','2014-07-24 08:23:47');
/*!40000 ALTER TABLE `cart_menu_item_group_items` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cart_menu_items`
--
DROP TABLE IF EXISTS `cart_menu_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cart_menu_items` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cart_id` int(11) DEFAULT NULL,
`menu_item_id` int(11) DEFAULT NULL,
`quantity` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`menu_item_property_id` int(11) DEFAULT NULL,
`instruction` text COLLATE utf8_unicode_ci,
`restaurant_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=246 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cart_menu_items`
--
LOCK TABLES `cart_menu_items` WRITE;
/*!40000 ALTER TABLE `cart_menu_items` DISABLE KEYS */;
INSERT INTO `cart_menu_items` VALUES (195,NULL,87,1,'2014-06-19 06:39:18','2014-06-19 06:39:18',NULL,'',21),(196,NULL,87,1,'2014-06-19 06:44:55','2014-06-19 06:44:55',NULL,'',21),(197,NULL,87,1,'2014-06-19 07:28:31','2014-06-19 07:28:31',NULL,'',21),(198,NULL,88,1,'2014-06-19 07:28:36','2014-06-19 07:28:36',NULL,'',21),(199,NULL,88,1,'2014-06-19 10:52:03','2014-06-19 10:52:03',NULL,'',21),(200,NULL,87,1,'2014-06-19 11:12:57','2014-06-19 11:12:57',NULL,'',21),(201,NULL,88,1,'2014-06-20 06:30:52','2014-06-20 06:30:52',NULL,'',21),(202,NULL,87,1,'2014-06-20 08:07:43','2014-06-20 08:07:43',NULL,'',21),(203,NULL,87,1,'2014-06-20 08:19:32','2014-06-20 08:19:32',NULL,'',21),(204,NULL,87,1,'2014-06-20 08:23:43','2014-06-20 08:23:43',NULL,'',21),(205,NULL,91,1,'2014-06-20 08:37:10','2014-06-20 08:37:10',NULL,'',21),(206,NULL,87,1,'2014-06-20 08:55:18','2014-06-20 08:55:18',NULL,'',21),(207,NULL,92,1,'2014-06-25 18:58:20','2014-06-25 18:58:20',NULL,'',8),(208,NULL,87,1,'2014-07-07 08:30:05','2014-07-07 08:30:05',NULL,'',21),(214,NULL,87,1,'2014-07-08 07:10:46','2014-07-08 07:10:46',NULL,'',21),(215,NULL,87,1,'2014-07-08 07:18:45','2014-07-08 07:18:45',NULL,'',21),(217,NULL,87,1,'2014-07-08 10:06:30','2014-07-08 10:06:30',NULL,'',21),(218,NULL,87,1,'2014-07-08 10:15:19','2014-07-08 10:15:19',NULL,'',21),(219,NULL,87,1,'2014-07-08 11:01:23','2014-07-08 11:01:23',NULL,'',21),(220,NULL,87,1,'2014-07-08 11:16:46','2014-07-08 11:16:46',NULL,'',21),(221,NULL,87,1,'2014-07-08 11:24:00','2014-07-08 11:24:00',NULL,'',21),(222,NULL,87,1,'2014-07-08 11:26:14','2014-07-08 11:26:14',NULL,'',21),(223,NULL,88,1,'2014-07-08 11:27:19','2014-07-08 11:27:19',NULL,'',21),(224,NULL,88,1,'2014-07-08 11:28:01','2014-07-08 11:28:01',NULL,'',21),(225,NULL,88,1,'2014-07-08 11:31:22','2014-07-08 11:31:22',NULL,'',21),(226,NULL,87,1,'2014-07-08 11:58:39','2014-07-08 11:58:39',NULL,'',21),(227,NULL,91,1,'2014-07-08 12:05:16','2014-07-08 12:05:30',NULL,'',21),(228,NULL,87,1,'2014-07-08 12:05:35','2014-07-08 12:05:35',NULL,'',21),(229,NULL,91,1,'2014-07-09 01:14:04','2014-07-09 01:14:04',NULL,'',21),(230,NULL,87,1,'2014-07-09 01:14:19','2014-07-09 01:14:19',NULL,'',21),(231,NULL,87,1,'2014-07-09 05:38:07','2014-07-09 05:38:07',NULL,'',21),(232,NULL,91,4,'2014-07-09 06:11:14','2014-07-09 06:11:34',NULL,'',21),(233,NULL,87,1,'2014-07-09 06:47:47','2014-07-09 06:47:47',NULL,'',21),(234,NULL,87,1,'2014-07-09 06:49:40','2014-07-09 06:49:40',NULL,'',21),(235,NULL,87,1,'2014-07-09 08:01:25','2014-07-09 08:01:25',NULL,'',21),(236,NULL,87,1,'2014-07-09 09:22:43','2014-07-09 09:22:43',NULL,'',21),(237,NULL,87,1,'2014-07-09 09:52:25','2014-07-09 09:52:25',NULL,'',21),(238,NULL,87,1,'2014-07-23 05:33:00','2014-07-23 05:33:00',NULL,'',21),(239,NULL,91,7,'2014-07-23 05:57:30','2014-07-23 07:17:18',NULL,'',21),(240,3,87,10,'2014-07-23 06:51:43','2014-07-23 06:54:37',NULL,'',21),(241,NULL,91,2,'2014-07-23 07:18:45','2014-07-23 07:19:51',NULL,'',21),(242,4,87,1,'2014-07-23 10:32:53','2014-07-23 10:33:03',NULL,'',21),(243,NULL,87,1,'2014-07-24 08:05:36','2014-07-24 08:05:36',NULL,'',21),(244,NULL,87,1,'2014-07-24 08:13:17','2014-07-24 08:13:17',NULL,'',21),(245,NULL,87,2,'2014-07-24 08:23:47','2014-07-24 08:23:47',NULL,'',21);
/*!40000 ALTER TABLE `cart_menu_items` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `carts`
--
DROP TABLE IF EXISTS `carts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `carts` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`restaurant_id` int(11) DEFAULT NULL,
`order_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'delivery',
`guest_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `carts`
--
LOCK TABLES `carts` WRITE;
/*!40000 ALTER TABLE `carts` DISABLE KEYS */;
INSERT INTO `carts` VALUES (3,'aMEk0jc-RRB9E5OsD_cn_Q',NULL,'2014-07-23 06:51:43','2014-07-23 07:27:19',21,'pickup',NULL),(4,NULL,NULL,'2014-07-23 10:32:53','2014-07-23 11:01:41',21,'delivery',NULL);
/*!40000 ALTER TABLE `carts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `comments`
--
DROP TABLE IF EXISTS `comments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`order_id` int(11) DEFAULT NULL,
`message` text COLLATE utf8_unicode_ci,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `comments`
--
LOCK TABLES `comments` WRITE;
/*!40000 ALTER TABLE `comments` DISABLE KEYS */;
INSERT INTO `comments` VALUES (1,15,'Nam pretium turpis et arcu. Sed magna purus, fermentum eu, tincidunt eu, varius ut, felis.','2014-07-23 18:24:38','2014-07-23 18:24:38');
/*!40000 ALTER TABLE `comments` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `contact_infos`
--
DROP TABLE IF EXISTS `contact_infos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `contact_infos` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`restaurant_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`restaurant_phone` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`restaurant_website` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`restaurant_street_address` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`city` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`zip_code` int(11) DEFAULT NULL,
`contact_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`contact_phone` int(11) DEFAULT NULL,
`contact_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`restaurant_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`map_photo_file_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`map_photo_content_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`map_photo_file_size` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `contact_infos`
--
LOCK TABLES `contact_infos` WRITE;
/*!40000 ALTER TABLE `contact_infos` DISABLE KEYS */;
INSERT INTO `contact_infos` VALUES (7,'Come and Eat Food','923353455244','http://www.royalfree.nhs.uk/','CIIT Lahore Rawind Road Lahore Pakistan','Punjab','Lahore',54000,'John Garbarg',NULL,'sunny.ciitlahore@gmail.com',7,'2014-03-06 12:51:17','2014-03-06 12:51:17','02-539x205.jpg','image/jpeg',26676),(8,'Latif Restaurant','923353455244','http://www.karachcorner.com','CIIT Lahore Rawind Road Lahore Pakistan','Punjab','Lahore',54000,'John Garbarg',NULL,'sunny.ciitlahore@gmail.com',8,'2014-03-06 14:49:21','2014-03-06 14:49:21',NULL,NULL,NULL),(10,'Karach Corner','923353455244','http://www.karachcorner.com','1722 Sacramento St. San Francisco, CA 94109','Punjab','Lahore',54000,'John Garbarg',NULL,'sunny.ciitlahore@gmail.com',10,'2014-03-11 07:08:25','2014-03-11 07:08:25',NULL,NULL,NULL),(14,'Karach Corner Restaurant','923353455244','http://www.karachcorner.com','CIIT Lahore Rawind Road Lahore Pakistan','Punjab','Lahore',54000,'Suneel Kumar',NULL,'sunny.ciitlahore@gmail.com',14,'2014-04-08 11:10:02','2014-07-24 06:37:40',NULL,NULL,NULL),(21,'Optp Restort','923353455244','http://www.karachcorner.com','CIIT Lahore Rawind Road Lahore Pakistan','Punjab','Lahore',54000,'Suneel Kumar',NULL,'sunny.ciitlahore@gmail.com',21,'2014-06-18 10:17:26','2014-06-18 10:17:26','map.png','image/png',71855);
/*!40000 ALTER TABLE `contact_infos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `contact_us`
--
DROP TABLE IF EXISTS `contact_us`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `contact_us` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`subject` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`message` text COLLATE utf8_unicode_ci,
`is_viewed` tinyint(1) DEFAULT '0',
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `contact_us`
--
LOCK TABLES `contact_us` WRITE;
/*!40000 ALTER TABLE `contact_us` DISABLE KEYS */;
/*!40000 ALTER TABLE `contact_us` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `coupons`
--
DROP TABLE IF EXISTS `coupons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `coupons` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`amount` float DEFAULT NULL,
`unit` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`min_amount` float DEFAULT NULL,
`start_date` datetime DEFAULT NULL,
`end_date` datetime DEFAULT NULL,
`max_user` int(11) DEFAULT NULL,
`max_use` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `coupons`
--
LOCK TABLES `coupons` WRITE;
/*!40000 ALTER TABLE `coupons` DISABLE KEYS */;
INSERT INTO `coupons` VALUES (2,'CD3442F',500,'$ off',15,'2014-06-17 05:05:00','2014-10-17 05:05:00',50,5,'2014-06-17 05:05:44','2014-06-17 05:05:44'),(3,'CD3442F',100,'$ off',15,'2014-06-17 05:48:00','2014-06-17 05:48:00',5,10,'2014-06-17 05:48:26','2014-06-17 05:48:26'),(4,'123',5,'% off',1500,'2014-04-20 07:53:00','2014-08-20 07:53:00',3,3,'2014-06-20 07:54:36','2014-06-20 09:05:32');
/*!40000 ALTER TABLE `coupons` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `coupons_schools`
--
DROP TABLE IF EXISTS `coupons_schools`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `coupons_schools` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`coupon_id` int(11) DEFAULT NULL,
`school_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `coupons_schools`
--
LOCK TABLES `coupons_schools` WRITE;
/*!40000 ALTER TABLE `coupons_schools` DISABLE KEYS */;
INSERT INTO `coupons_schools` VALUES (5,2,2),(6,2,5),(7,2,8),(8,2,12),(9,3,2),(10,3,3),(11,3,4),(12,3,5),(13,3,6),(14,3,8),(15,3,9),(16,3,10),(17,3,12),(18,4,2);
/*!40000 ALTER TABLE `coupons_schools` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cuisines`
--
DROP TABLE IF EXISTS `cuisines`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cuisines` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`description` text COLLATE utf8_unicode_ci,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`photo_file_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`photo_content_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`photo_file_size` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cuisines`
--
LOCK TABLES `cuisines` WRITE;
/*!40000 ALTER TABLE `cuisines` DISABLE KEYS */;
INSERT INTO `cuisines` VALUES (1,'Pizza','Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Lorem ipsum dolor sit amet. At vero eos et accusam et justo duo dolores et ea rebum.','2014-03-03 17:42:26','2014-03-03 17:42:26','WWW.YIFY-TORRENTS.COM.jpg','image/jpeg',130677),(2,'Burgers','Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Sanctus sea sed takimata ut vero voluptua. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.','2014-03-03 18:52:54','2014-03-03 18:52:54','WWW.YIFY-TORRENTS.COM.jpg','image/jpeg',130677),(3,'Cucina Italiana','Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.','2014-03-03 18:53:52','2014-03-03 18:53:52','WWW.YIFY-TORRENTS.COM.jpg','image/jpeg',130677),(4,'Burgers','Ut enim ad minim','2014-04-11 09:16:57','2014-04-11 09:16:57','add.png','image/png',282200);
/*!40000 ALTER TABLE `cuisines` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `delayed_jobs`
--
DROP TABLE IF EXISTS `delayed_jobs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `delayed_jobs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`priority` int(11) NOT NULL DEFAULT '0',
`attempts` int(11) NOT NULL DEFAULT '0',
`handler` text COLLATE utf8_unicode_ci NOT NULL,
`last_error` text COLLATE utf8_unicode_ci,
`run_at` datetime DEFAULT NULL,
`locked_at` datetime DEFAULT NULL,
`failed_at` datetime DEFAULT NULL,
`locked_by` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`queue` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `delayed_jobs_priority` (`priority`,`run_at`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `delayed_jobs`
--
LOCK TABLES `delayed_jobs` WRITE;
/*!40000 ALTER TABLE `delayed_jobs` DISABLE KEYS */;
INSERT INTO `delayed_jobs` VALUES (6,0,0,'--- !ruby/object:ThinkingSphinx::Deltas::DelayedDelta::DeltaJob\nindex: restaurant_delta\n',NULL,'2014-07-24 10:57:34',NULL,NULL,NULL,NULL,'2014-07-24 10:57:34','2014-07-24 10:57:34'),(7,0,0,'--- !ruby/object:ThinkingSphinx::Deltas::DelayedDelta::FlagAsDeletedJob\nindex: restaurant_core\ndocument_id: 84\n',NULL,'2014-07-24 10:57:34',NULL,NULL,NULL,NULL,'2014-07-24 10:57:34','2014-07-24 10:57:34'),(8,0,0,'--- !ruby/object:ThinkingSphinx::Deltas::DelayedDelta::FlagAsDeletedJob\nindex: restaurant_core\ndocument_id: 42\n',NULL,'2014-07-24 11:18:05',NULL,NULL,NULL,NULL,'2014-07-24 11:18:05','2014-07-24 11:18:05'),(9,0,0,'--- !ruby/object:ThinkingSphinx::Deltas::DelayedDelta::FlagAsDeletedJob\nindex: restaurant_core\ndocument_id: 126\n',NULL,'2014-07-24 11:24:59',NULL,NULL,NULL,NULL,'2014-07-24 11:24:59','2014-07-24 11:24:59');
/*!40000 ALTER TABLE `delayed_jobs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `deliveries`
--
DROP TABLE IF EXISTS `deliveries`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `deliveries` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`restaurant_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `deliveries`
--
LOCK TABLES `deliveries` WRITE;
/*!40000 ALTER TABLE `deliveries` DISABLE KEYS */;
INSERT INTO `deliveries` VALUES (2,7,'2014-03-06 12:51:17','2014-03-06 12:51:17'),(3,8,'2014-03-06 14:49:21','2014-03-06 14:49:21'),(5,10,'2014-03-11 07:08:26','2014-03-11 07:08:26'),(9,14,'2014-04-08 11:10:02','2014-04-08 11:10:02'),(16,21,'2014-06-18 10:17:26','2014-06-18 10:17:26');
/*!40000 ALTER TABLE `deliveries` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `delivery_infos`
--
DROP TABLE IF EXISTS `delivery_infos`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `delivery_infos` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`is_delivery` tinyint(1) DEFAULT NULL,
`delivery_estimated_time` int(11) DEFAULT NULL,
`delivery_charges` float DEFAULT NULL,
`delivery_distance` float DEFAULT NULL,
`restaurant_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `delivery_infos`
--
LOCK TABLES `delivery_infos` WRITE;
/*!40000 ALTER TABLE `delivery_infos` DISABLE KEYS */;
INSERT INTO `delivery_infos` VALUES (7,1,0,1,200,7,'2014-03-06 12:51:17','2014-03-11 14:03:08'),(8,1,12,15,200,8,'2014-03-06 14:49:21','2014-03-12 12:06:36'),(10,1,1,15,200,10,'2014-03-11 07:08:25','2014-03-12 11:40:56'),(14,1,30,0,200,14,'2014-04-08 11:10:02','2014-07-24 10:57:34'),(21,1,30,150,10000,21,'2014-06-18 10:17:26','2014-06-18 10:17:26');
/*!40000 ALTER TABLE `delivery_infos` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `faqs`
--
DROP TABLE IF EXISTS `faqs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `faqs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`question` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`answer` text COLLATE utf8_unicode_ci,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `faqs`
--
LOCK TABLES `faqs` WRITE;
/*!40000 ALTER TABLE `faqs` DISABLE KEYS */;
INSERT INTO `faqs` VALUES (1,'How much does it cost to use CampusBite.com?','Our service is completely FREE of charge for any registered user. You simply login, create your order and pay the restaurant\'s usual takeout or delivery prices. MyPizza.com does not charge any additional fees.','2014-07-09 11:50:48','2014-07-09 11:50:48'),(2,'How much does it cost to use CampusBite.com?','Our service is completely FREE of charge for any registered user. You simply login, create your order and pay the restaurant\'s usual takeout or delivery prices. MyPizza.com does not charge any additional fees.\r\n\r\nHow much does it cost to use CampusBite.com?','2014-07-09 11:51:28','2014-07-09 11:51:36');
/*!40000 ALTER TABLE `faqs` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `favorites`
--
DROP TABLE IF EXISTS `favorites`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `favorites` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`restaurant_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `favorites`
--
LOCK TABLES `favorites` WRITE;
/*!40000 ALTER TABLE `favorites` DISABLE KEYS */;
INSERT INTO `favorites` VALUES (1,2,7,'2014-03-11 09:57:40','2014-03-11 09:57:40'),(3,1,7,'2014-03-30 11:46:01','2014-03-30 11:46:01'),(4,1,10,'2014-03-30 11:59:31','2014-03-30 11:59:31'),(5,8,7,'2014-04-01 20:36:12','2014-04-01 20:36:12'),(7,13,7,'2014-04-09 07:08:56','2014-04-09 07:08:56'),(9,14,14,'2014-07-03 05:31:36','2014-07-03 05:31:36');
/*!40000 ALTER TABLE `favorites` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `group_item_menu_item_orders`
--
DROP TABLE IF EXISTS `group_item_menu_item_orders`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `group_item_menu_item_orders` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`menu_item_order_id` int(11) DEFAULT NULL,
`group_item_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `group_item_menu_item_orders`
--
LOCK TABLES `group_item_menu_item_orders` WRITE;
/*!40000 ALTER TABLE `group_item_menu_item_orders` DISABLE KEYS */;
INSERT INTO `group_item_menu_item_orders` VALUES (19,227,12,'2014-06-19 06:39:35','2014-06-19 06:39:35'),(20,227,14,'2014-06-19 06:39:35','2014-06-19 06:39:35'),(21,228,11,'2014-06-19 06:45:36','2014-06-19 06:45:36'),(22,228,14,'2014-06-19 06:45:36','2014-06-19 06:45:36'),(23,229,12,'2014-06-19 07:28:49','2014-06-19 07:28:49'),(24,229,14,'2014-06-19 07:28:49','2014-06-19 07:28:49'),(25,230,15,'2014-06-19 07:28:49','2014-06-19 07:28:49'),(26,230,16,'2014-06-19 07:28:49','2014-06-19 07:28:49'),(27,230,17,'2014-06-19 07:28:49','2014-06-19 07:28:49'),(28,230,18,'2014-06-19 07:28:49','2014-06-19 07:28:49'),(29,230,19,'2014-06-19 07:28:49','2014-06-19 07:28:49'),(30,231,15,'2014-06-19 11:09:18','2014-06-19 11:09:18'),(31,231,16,'2014-06-19 11:09:18','2014-06-19 11:09:18'),(32,231,17,'2014-06-19 11:09:18','2014-06-19 11:09:18'),(33,231,18,'2014-06-19 11:09:18','2014-06-19 11:09:18'),(34,231,19,'2014-06-19 11:09:18','2014-06-19 11:09:18'),(35,232,15,'2014-06-19 11:12:01','2014-06-19 11:12:01'),(36,232,16,'2014-06-19 11:12:01','2014-06-19 11:12:01'),(37,232,17,'2014-06-19 11:12:01','2014-06-19 11:12:01'),(38,232,18,'2014-06-19 11:12:01','2014-06-19 11:12:01'),(39,232,19,'2014-06-19 11:12:01','2014-06-19 11:12:01'),(40,233,13,'2014-06-19 12:14:26','2014-06-19 12:14:26'),(41,233,14,'2014-06-19 12:14:26','2014-06-19 12:14:26'),(42,234,15,'2014-06-20 07:03:06','2014-06-20 07:03:06'),(43,234,16,'2014-06-20 07:03:06','2014-06-20 07:03:06'),(44,234,17,'2014-06-20 07:03:06','2014-06-20 07:03:06'),(45,234,18,'2014-06-20 07:03:06','2014-06-20 07:03:06'),(46,234,19,'2014-06-20 07:03:06','2014-06-20 07:03:06'),(47,235,15,'2014-06-20 07:57:57','2014-06-20 07:57:57'),(48,235,16,'2014-06-20 07:57:57','2014-06-20 07:57:57'),(49,235,17,'2014-06-20 07:57:57','2014-06-20 07:57:57'),(50,235,18,'2014-06-20 07:57:57','2014-06-20 07:57:57'),(51,235,19,'2014-06-20 07:57:57','2014-06-20 07:57:57'),(52,236,15,'2014-06-20 07:58:40','2014-06-20 07:58:40'),(53,236,16,'2014-06-20 07:58:40','2014-06-20 07:58:40'),(54,236,17,'2014-06-20 07:58:40','2014-06-20 07:58:40'),(55,236,18,'2014-06-20 07:58:40','2014-06-20 07:58:40'),(56,236,19,'2014-06-20 07:58:40','2014-06-20 07:58:40'),(57,237,12,'2014-06-20 08:07:55','2014-06-20 08:07:55'),(58,237,14,'2014-06-20 08:07:55','2014-06-20 08:07:55'),(59,238,12,'2014-06-20 08:09:11','2014-06-20 08:09:11'),(60,238,14,'2014-06-20 08:09:11','2014-06-20 08:09:11'),(61,239,27,'2014-06-20 08:37:30','2014-06-20 08:37:30'),(62,240,13,'2014-06-20 09:05:32','2014-06-20 09:05:33'),(63,240,14,'2014-06-20 09:05:32','2014-06-20 09:05:33'),(64,241,12,'2014-07-08 10:14:16','2014-07-08 10:14:16'),(65,241,14,'2014-07-08 10:14:16','2014-07-08 10:14:16'),(66,242,13,'2014-07-09 09:11:15','2014-07-09 09:11:15'),(67,242,14,'2014-07-09 09:11:15','2014-07-09 09:11:15'),(68,243,13,'2014-07-09 09:12:37','2014-07-09 09:12:37'),(69,243,14,'2014-07-09 09:12:37','2014-07-09 09:12:37'),(70,244,13,'2014-07-09 09:46:15','2014-07-09 09:46:15'),(71,244,14,'2014-07-09 09:46:15','2014-07-09 09:46:15'),(72,245,13,'2014-07-09 09:46:39','2014-07-09 09:46:39'),(73,245,14,'2014-07-09 09:46:39','2014-07-09 09:46:39'),(74,246,13,'2014-07-24 08:07:58','2014-07-24 08:07:58'),(75,246,14,'2014-07-24 08:07:58','2014-07-24 08:07:58'),(76,247,13,'2014-07-24 08:17:05','2014-07-24 08:17:05'),(77,247,14,'2014-07-24 08:17:05','2014-07-24 08:17:05'),(78,248,13,'2014-07-24 11:36:35','2014-07-24 11:36:35'),(79,248,14,'2014-07-24 11:36:35','2014-07-24 11:36:35');
/*!40000 ALTER TABLE `group_item_menu_item_orders` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `group_items`
--
DROP TABLE IF EXISTS `group_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `group_items` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`price` float DEFAULT NULL,
`is_pizza` tinyint(1) DEFAULT NULL,
`group_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `group_items`
--
LOCK TABLES `group_items` WRITE;
/*!40000 ALTER TABLE `group_items` DISABLE KEYS */;
INSERT INTO `group_items` VALUES (8,'Sub',12,0,29,'2014-06-16 12:36:55','2014-06-16 12:36:55'),(9,'Test',563,1,29,'2014-06-16 12:36:55','2014-06-16 12:36:55'),(10,'Red Chilies',200,1,33,'2014-06-16 13:20:22','2014-06-16 13:20:22'),(11,'Cold Drink',150,1,34,'2014-06-18 10:24:02','2014-06-18 10:24:02'),(12,'Salad',200,1,34,'2014-06-18 10:24:02','2014-06-18 10:24:02'),(13,'Naan',20,1,34,'2014-06-18 10:24:02','2014-06-18 10:24:02'),(14,'Red Chilies',200,1,35,'2014-06-18 10:25:36','2014-06-18 10:25:36'),(15,'Small',250,1,36,'2014-06-18 10:31:40','2014-06-18 10:32:33'),(16,'Meduim',500,1,36,'2014-06-18 10:31:40','2014-06-18 10:31:40'),(17,'Large',1000,1,36,'2014-06-18 10:31:40','2014-06-18 10:31:40'),(18,'Red Chilies',200,1,37,'2014-06-18 10:32:33','2014-06-18 10:32:33'),(19,'Vegi Lover',500,1,37,'2014-06-18 10:32:33','2014-06-18 10:32:33'),(25,'Small',12,1,43,'2014-06-18 11:32:18','2014-06-18 11:32:18'),(26,'Meduim',50,0,43,'2014-06-18 11:32:18','2014-06-18 11:32:18'),(27,'Large',100,0,43,'2014-06-18 11:32:18','2014-06-18 11:32:18'),(28,'Small',12,1,44,'2014-06-25 18:58:08','2014-06-25 18:58:08'),(29,'Meduim',50,1,44,'2014-06-25 18:58:08','2014-06-25 18:58:08'),(30,'Large',100,1,44,'2014-06-25 18:58:08','2014-06-25 18:58:08');
/*!40000 ALTER TABLE `group_items` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `groups`
--
DROP TABLE IF EXISTS `groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `groups` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`min_limit` int(11) DEFAULT NULL,
`max_limit` int(11) DEFAULT NULL,
`message` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`message_color` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`required` tinyint(1) DEFAULT NULL,
`menu_item_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `groups`
--
LOCK TABLES `groups` WRITE;
/*!40000 ALTER TABLE `groups` DISABLE KEYS */;
INSERT INTO `groups` VALUES (29,'Extra',5,10,'Must choose','Red',1,85,'2014-06-16 12:36:55','2014-06-16 13:18:02'),(30,'',NULL,NULL,'','Red',1,86,'2014-06-16 13:17:07','2014-06-16 13:17:07'),(31,'Test',NULL,NULL,'','Red',1,86,'2014-06-16 13:17:07','2014-06-16 13:17:07'),(32,'Test2',NULL,NULL,'','Red',1,86,'2014-06-16 13:17:07','2014-06-16 13:17:07'),(33,'Test',NULL,NULL,'','Red',1,85,'2014-06-16 13:18:02','2014-06-16 13:18:02'),(34,'Size',1,1,'must one Choose','Red',1,87,'2014-06-18 10:24:02','2014-06-18 13:16:00'),(35,'Extra',0,3,'On your choice','Red',1,87,'2014-06-18 10:24:02','2014-06-18 10:24:02'),(36,'Size',1,3,'Must Choose btw 1 - 3','Red',1,88,'2014-06-18 10:31:40','2014-06-18 10:31:40'),(37,'Extra',2,3,'at least select two','Red',1,88,'2014-06-18 10:31:40','2014-06-18 10:31:40'),(43,'Size',1,3,'Must Choose btw 1 - 3','Red',1,91,'2014-06-18 11:32:18','2014-06-20 11:07:46'),(44,'Size',1,3,'Select text','Red',1,92,'2014-06-25 18:58:08','2014-06-25 18:58:08');
/*!40000 ALTER TABLE `groups` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `guests`
--
DROP TABLE IF EXISTS `guests`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `guests` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`last_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `guests`
--
LOCK TABLES `guests` WRITE;
/*!40000 ALTER TABLE `guests` DISABLE KEYS */;
INSERT INTO `guests` VALUES (1,'Suneel','Kumar','sunny.ciitlahore@gmail.com','2014-07-09 01:38:29','2014-07-09 01:38:29'),(2,'Suneel','Kumar','sunny.ciitlahore@gmail.com','2014-07-09 06:12:00','2014-07-09 06:12:00'),(3,'Suneel','Kumar','sunny.ciitlahore@gmail.com','2014-07-09 06:12:28','2014-07-09 06:12:28'),(4,'Suneel','Kumar','sunny.ciitlahore@gmail.com','2014-07-09 06:13:24','2014-07-09 06:13:24'),(5,'Suneel','Kumar','sunny.ciitlahore@gmail.com','2014-07-09 06:18:58','2014-07-09 06:18:58'),(6,'Suneel','Kumar','sunny.ciitlahore@gmail.com','2014-07-09 06:19:15','2014-07-09 06:19:15'),(9,'Ali','Ahmad','Ahmad@gmail.com','2014-07-09 08:05:28','2014-07-09 08:05:28'),(10,'Dawood','Hussain','Dawood@gmail.com','2014-07-09 09:33:21','2014-07-09 09:33:21'),(11,'','','','2014-07-23 10:43:13','2014-07-23 10:43:13'),(12,'','','','2014-07-23 10:51:06','2014-07-23 10:51:06'),(13,'','','','2014-07-23 10:52:22','2014-07-23 10:52:22');
/*!40000 ALTER TABLE `guests` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `join_us`
--
DROP TABLE IF EXISTS `join_us`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `join_us` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`last_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`restaurant_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`phone_number` int(11) DEFAULT NULL,
`zip_code` int(11) DEFAULT NULL,
`comment` text COLLATE utf8_unicode_ci,
`is_viewed` tinyint(1) DEFAULT '0',
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `join_us`
--
LOCK TABLES `join_us` WRITE;
/*!40000 ALTER TABLE `join_us` DISABLE KEYS */;
/*!40000 ALTER TABLE `join_us` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `menu_categories`
--
DROP TABLE IF EXISTS `menu_categories`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `menu_categories` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`category_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`menu_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`status` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'completed',
`opening_time` time DEFAULT NULL,
`closing_time` time DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `menu_categories`
--
LOCK TABLES `menu_categories` WRITE;
/*!40000 ALTER TABLE `menu_categories` DISABLE KEYS */;
INSERT INTO `menu_categories` VALUES (1,'Daily Special',2,'2014-03-03 11:26:09','2014-03-03 11:26:09','completed',NULL,NULL),(2,'Luch Special',2,'2014-03-03 11:26:13','2014-03-03 11:26:13','completed',NULL,NULL),(3,'Dinner Special',2,'2014-03-03 11:26:16','2014-03-03 11:26:16','completed',NULL,NULL),(4,'Luch Special',3,'2014-03-03 13:54:34','2014-03-03 13:54:34','completed',NULL,NULL),(5,'Dinner Special',3,'2014-03-03 13:54:38','2014-03-03 13:54:38','completed',NULL,NULL),(6,'Dinner Special',3,'2014-03-03 13:54:42','2014-03-03 13:54:42','completed',NULL,NULL),(7,'test',4,'2014-03-03 13:59:03','2014-03-03 13:59:03','completed',NULL,NULL),(8,'lunch',4,'2014-03-03 14:09:32','2014-03-03 14:09:32','completed',NULL,NULL),(9,'Daily Special',5,'2014-03-03 19:31:28','2014-03-03 19:31:28','completed',NULL,NULL),(10,'Luch Special',5,'2014-03-03 19:31:34','2014-03-03 19:31:34','completed',NULL,NULL),(11,'Dinner Special',5,'2014-03-03 19:31:38','2014-03-03 19:31:38','completed',NULL,NULL),(12,'Daily Special',6,'2014-03-05 06:34:41','2014-03-05 06:34:41','completed',NULL,NULL),(13,'Luch Special',6,'2014-03-05 06:34:44','2014-03-05 06:34:44','completed',NULL,NULL),(14,'Dinner Special',6,'2014-03-05 06:34:49','2014-03-05 06:34:57','completed',NULL,NULL),(15,'Daily Special',7,'2014-03-05 08:57:01','2014-03-05 08:57:01','completed',NULL,NULL),(16,'Daily Special',8,'2014-03-05 11:11:52','2014-03-05 11:11:52','completed',NULL,NULL),(17,'Luch Special',8,'2014-03-05 11:11:56','2014-03-05 11:11:56','completed',NULL,NULL),(18,'Daily Special',11,'2014-03-06 05:54:37','2014-03-06 05:54:37','completed',NULL,NULL),(19,'Luch Special',11,'2014-03-06 05:56:00','2014-03-06 05:56:00','completed',NULL,NULL),(20,'Daily Special',10,'2014-03-06 11:15:33','2014-03-06 11:15:33','completed',NULL,NULL),(21,'Dinner Special',10,'2014-03-06 11:15:40','2014-03-06 11:15:40','completed',NULL,NULL),(22,'Daily Special',13,'2014-03-06 11:18:42','2014-03-06 11:18:42','completed',NULL,NULL),(23,'lunch',13,'2014-03-06 11:19:21','2014-03-06 11:19:21','completed',NULL,NULL),(24,'Luch Special',14,'2014-03-06 12:42:51','2014-03-06 12:42:51','completed',NULL,NULL),(25,'Daily Special',14,'2014-03-06 12:42:55','2014-03-06 12:42:55','completed',NULL,NULL),(26,'Dinner Special',14,'2014-03-06 12:42:59','2014-03-06 12:43:05','completed',NULL,NULL),(27,'Daily Special',15,'2014-03-06 12:51:23','2014-03-06 12:51:23','completed',NULL,NULL),(28,'Luch Special',15,'2014-03-06 12:51:28','2014-03-06 12:51:28','completed',NULL,NULL),(29,'Dinner Special',15,'2014-03-06 12:51:33','2014-03-06 12:51:33','completed',NULL,NULL),(30,'Daily Special',21,'2014-03-11 09:54:17','2014-03-11 09:54:17','completed',NULL,NULL),(31,'Luch Special',21,'2014-03-11 09:54:22','2014-03-11 09:54:22','completed',NULL,NULL),(32,'Daily Special',32,'2014-03-11 14:53:04','2014-03-11 14:53:04','completed',NULL,NULL),(33,'Luch Special',33,'2014-03-12 06:47:26','2014-03-12 06:47:26','completed',NULL,NULL),(34,'Dinner Special',33,'2014-03-12 06:47:31','2014-03-12 06:47:31','completed',NULL,NULL),(35,'Lunch',38,'2014-03-27 05:49:11','2014-03-27 05:49:11','completed',NULL,NULL),(36,'Luch Special',28,'2014-03-28 14:35:23','2014-03-28 14:35:23','completed',NULL,NULL),(37,'Daily Special',39,'2014-03-28 14:36:52','2014-03-28 14:36:52','completed',NULL,NULL),(38,'Daily Special',40,'2014-03-31 06:37:51','2014-03-31 06:37:51','completed',NULL,NULL),(39,'Daily Special',18,'2014-03-31 12:49:08','2014-03-31 12:49:08','completed',NULL,NULL),(40,'Lunch',44,'2014-04-08 11:46:30','2014-05-08 09:24:29','pending',NULL,NULL),(41,'test',18,'2014-04-11 07:07:35','2014-04-11 07:07:35','completed',NULL,NULL),(42,'test',18,'2014-04-11 07:08:50','2014-04-11 07:08:50','completed',NULL,NULL),(43,'Dinner food',44,'2014-04-11 12:44:32','2014-04-15 05:54:17','completed',NULL,NULL),(44,'Breake Fast 1',44,'2014-04-11 12:54:32','2014-04-14 11:13:50','completed',NULL,NULL),(45,' Special',40,'2014-06-13 12:26:10','2014-06-13 12:26:10','completed',NULL,NULL),(47,'Lunch',40,'2014-06-13 12:26:22','2014-06-13 12:26:22','completed',NULL,NULL),(48,' Special',49,'2014-06-16 06:49:06','2014-06-16 06:49:06','completed','11:50:00','11:50:00'),(49,'Lunch',49,'2014-06-16 10:16:18','2014-06-16 10:16:18','completed','15:20:00','15:20:00'),(50,'Lunch',51,'2014-06-18 10:18:37','2014-06-18 10:18:37','completed','12:30:00','16:20:00'),(51,' Special',51,'2014-06-18 10:41:46','2014-06-18 10:41:46','completed','08:00:00','23:50:00'),(52,'Lunch',37,'2014-06-25 18:57:04','2014-06-25 18:57:04','completed','12:00:00','12:00:00');
/*!40000 ALTER TABLE `menu_categories` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `menu_errors`
--
DROP TABLE IF EXISTS `menu_errors`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `menu_errors` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`restaurant_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`school_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`note` text COLLATE utf8_unicode_ci,
`is_viewed` tinyint(1) DEFAULT '0',
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `menu_errors`
--
LOCK TABLES `menu_errors` WRITE;
/*!40000 ALTER TABLE `menu_errors` DISABLE KEYS */;
INSERT INTO `menu_errors` VALUES (1,'sunny.ciiitlahore@gmail.com','Ali Ahmad','Comsats Lahore','expense menu ',1,'2014-07-07 07:18:08','2014-07-07 07:31:08'),(5,'Rana@dawood.com','Ali Ahmad','Lahore College','No any. Just for testing purpose i wanna to send this message',1,'2014-07-07 07:39:03','2014-07-07 07:39:15');
/*!40000 ALTER TABLE `menu_errors` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `menu_item_orders`
--
DROP TABLE IF EXISTS `menu_item_orders`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `menu_item_orders` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`menu_item_id` int(11) DEFAULT NULL,
`order_id` int(11) DEFAULT NULL,
`created_at` datetime NOT NULL,
`updated_at` datetime NOT NULL,
`quantity` int(11) DEFAULT NULL,
`menu_item_property_id` int(11) DEFAULT NULL,
`restaurant_id` int(11) DEFAULT NULL,
`instruction` text COLLATE utf8_unicode_ci,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=249 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `menu_item_orders`
--
LOCK TABLES `menu_item_orders` WRITE;
/*!40000 ALTER TABLE `menu_item_orders` DISABLE KEYS */;
INSERT INTO `menu_item_orders` VALUES (227,87,NULL,'2014-06-19 06:39:35','2014-06-19 06:39:35',1,NULL,21,''),(228,87,11,'2014-06-19 06:45:36','2014-06-19 06:45:36',1,NULL,21,''),(229,87,12,'2014-06-19 07:28:49','2014-06-19 07:28:49',1,NULL,21,''),(230,88,12,'2014-06-19 07:28:49','2014-06-19 07:28:49',1,NULL,21,''),(231,88,13,'2014-06-19 11:09:18','2014-06-19 11:09:18',1,NULL,21,''),(232,88,14,'2014-06-19 11:12:01','2014-06-19 11:12:01',1,NULL,21,''),(233,87,15,'2014-06-19 12:14:26','2014-06-19 12:14:26',1,NULL,21,''),(234,88,16,'2014-06-20 07:03:06','2014-06-20 07:03:06',1,NULL,21,''),(235,88,17,'2014-06-20 07:57:57','2014-06-20 07:57:57',1,NULL,21,''),(236,88,18,'2014-06-20 07:58:40','2014-06-20 07:58:40',1,NULL,21,''),(237,87,19,'2014-06-20 08:07:55','2014-06-20 08:07:55',1,NULL,21,''),(238,87,20,'2014-06-20 08:09:11','2014-06-20 08:09:11',1,NULL,21,''),(239,91,22,'2014-06-20 08:37:30','2014-06-20 08:37:30',1,NULL,21,''),(240,87,23,'2014-06-20 09:05:32','2014-06-20 09:05:32',1,NULL,21,''),(241,87,24,'2014-07-08 10:14:16','2014-07-08 10:14:16',1,NULL,21,''),(242,87,25,'2014-07-09 09:11:15','2014-07-09 09:11:15',1,NULL,21,''),(243,87,26,'2014-07-09 09:12:37','2014-07-09 09:12:37',1,NULL,21,''),(244,87,27,'2014-07-09 09:46:15','2014-07-09 09:46:15',1,NULL,21,''),(245,87,28,'2014-07-09 09:46:39','2014-07-09 09:46:39',1,NULL,21,''),(246,87,NULL,'2014-07-24 08:07:58','2014-07-24 08:07:58',1,NULL,21,''),(247,87,NULL,'2014-07-24 08:17:05','2014-07-24 08:17:05',1,NULL,21,''),(248,87,31,'2014-07-24 11:36:35','2014-07-24 11:36:35',2,NULL,21,'');
/*!40000 ALTER TABLE `menu_item_orders` ENABLE KEYS */;
UNLOCK TABLES;