This repository has been archived by the owner on Oct 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdb_chema.json
142 lines (141 loc) · 5.5 KB
/
db_chema.json
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
{
"data": {
"restaurants": [
{
"name": "Mission Chinese Food",
"neighborhood": "Manhattan",
"photograph": "1",
"address": "171 E Broadway, New York, NY 10002",
"latlng": {
"lat": 40.713829,
"lng": -73.989667
},
"cuisine_type": "Asian",
"operating_hours": {
"Monday": "5:30 pm - 11:00 pm",
"Tuesday": "5:30 pm - 11:00 pm",
"Wednesday": "5:30 pm - 11:00 pm",
"Thursday": "5:30 pm - 11:00 pm",
"Friday": "5:30 pm - 11:00 pm",
"Saturday": "12:00 pm - 4:00 pm, 5:30 pm - 12:00 am",
"Sunday": "12:00 pm - 4:00 pm, 5:30 pm - 11:00 pm"
},
"createdAt": 1504095563444,
"updatedAt": "2017-09-14T14:01:27.653Z",
"id": 1,
"is_favorite": false
},
],
"reviews": [
{
"id": 1,
"restaurant_id": 1,
"name": "Steve",
"createdAt": 1504095567183,
"updatedAt": 1504095567183,
"rating": 4,
"comments": "Mission Chinese Food has grown up from its scrappy Orchard Street days into a big, two story restaurant equipped with a pizza oven, a prime rib cart, and a much broader menu. Yes, it still has all the hits — the kung pao pastrami, the thrice cooked bacon —but chef/proprietor Danny Bowien and executive chef Angela Dimayuga have also added a raw bar, two generous family-style set menus, and showstoppers like duck baked in clay. And you can still get a lot of food without breaking the bank."
},
{
"id": 2,
"restaurant_id": 1,
"name": "Morgan",
"createdAt": 1504095567183,
"updatedAt": 1504095567183,
"rating": "4",
"comments": "This place is a blast. Must orders: GREEN TEA NOODS, sounds gross (to me at least) but these were incredible!, Kung pao pastrami (but you already knew that), beef tartare was a fun appetizer that we decided to try, the spicy ma po tofu SUPER spicy but delicous, egg rolls and scallion pancake i could have passed on... I wish we would have gone with a larger group, so much more I would have liked to try!"
},
{
"id": 3,
"restaurant_id": 1,
"name": "Jason",
"createdAt": 1504095567183,
"updatedAt": 1504095567183,
"rating": "3",
"comments": "I was VERY excited to come here after seeing and hearing so many good things about this place. Having read much, I knew going into it that it was not going to be authentic Chinese. The place was edgy, had a punk rock throwback attitude, and generally delivered the desired atmosphere. Things went downhill from there though. The food was okay at best and the best qualities were easily overshadowed by what I believe to be poor decisions by the kitchen staff."
},
{
"id": 4,
"restaurant_id": 2,
"name": "Steph",
"createdAt": 1504095567183,
"updatedAt": 1504095567183,
"rating": 4,
"comments": "Five star food, two star atmosphere. I would definitely get takeout from this place - but dont think I have the energy to deal with the hipster ridiculousness again. By the time we left the wait was two hours long."
},
{
"id": 5,
"restaurant_id": 2,
"name": "Steve",
"createdAt": 1504095567183,
"updatedAt": 1504095567183,
"rating": 4,
"comments": "This cozy Clinton Hill restaurant excels at both straightforward and unusual wood-fired pizzas. If you want a taste of the latter, consider ordering the Emily, which is topped with mozzarella, pistachios, truffled sottocenere cheese, and honey. The menu includes salads and a handful of starters, as well as a burger that some meat connoisseurs consider to be among the best in the city."
},
{
"id": 6,
"restaurant_id": 2,
"name": "Sam",
"createdAt": 1504095567183,
"updatedAt": 1504095567183,
"rating": 5,
"comments": "5 star atmosphere as it is very cozy with great staff. 5 star food as their Emmy burger is outrageously good. and its on a pretzel bun.. Too juicy for its own good and downright addicting. Also try the Colony pizza. Many others looked like worth competitors, but the Colony really found its way to my heart. when you start with a great crust, top it with top notch cheese and sauce, you've got a winner. But, if you go a step further and add the salty from the pepperoni, the sweet from the honey, and the spicy from the chili oil.... your mouth is confused and happy at the same time."
},
]
},
"schema": {
"restaurant": {
"id": {
"type": "integer",
"autoIncrement": true,
"primaryKey": true,
"unique": true
},
"createdAt": {
"type": "datetime"
},
"updatedAt": {
"type": "datetime"
}
},
"restaurants": {
"id": {
"type": "integer",
"autoIncrement": true,
"primaryKey": true,
"unique": true
},
"createdAt": {
"type": "datetime"
},
"updatedAt": {
"type": "datetime"
}
},
"reviews": {
"id": {
"type": "integer",
"autoIncrement": true,
"primaryKey": true,
"unique": true
},
"createdAt": {
"type": "datetime"
},
"updatedAt": {
"type": "datetime"
}
}
},
"counters": {
"restaurant": {
"id": 10
},
"restaurants": {
"id": 10
},
"reviews": {
"id": 30
}
}
}