-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCloud_SQL_Export_2023-10-15 (22_09_32).sql
214 lines (154 loc) · 6.16 KB
/
Cloud_SQL_Export_2023-10-15 (22_09_32).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
--
-- PostgreSQL database dump
--
-- Dumped from database version 15.4
-- Dumped by pg_dump version 15.4
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- Name: Artist; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public."Artist" (
id integer NOT NULL,
name character varying,
genres character varying(120),
city character varying(120),
state character varying(120),
phone character varying(120),
website character varying(500),
facebook_link character varying(120),
seeking_venue boolean,
seeking_description character varying,
image_link character varying(500)
);
--
-- Name: Artist_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public."Artist_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: Artist_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public."Artist_id_seq" OWNED BY public."Artist".id;
--
-- Name: Venue; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public."Venue" (
id integer NOT NULL,
name character varying,
genres character varying(120),
address character varying(120),
city character varying(120),
state character varying(120),
phone character varying(120),
website character varying(500),
facebook_link character varying(120),
seeking_talent boolean,
seeking_description character varying,
image_link character varying(500)
);
--
-- Name: Venue_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public."Venue_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: Venue_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public."Venue_id_seq" OWNED BY public."Venue".id;
--
-- Name: Show; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public."Show" (
id integer NOT NULL,
venue_id integer NOT NULL,
artist_id integer NOT NULL,
start_time timestamp with time zone
);
--
-- Name: Show_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public."Show_id_seq"
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: Show_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public."Show_id_seq" OWNED BY public."Show".id;
--
-- Name: Artist id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public."Artist" ALTER COLUMN id SET DEFAULT nextval('public."Artist_id_seq"'::regclass);
--
-- Name: Venue id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public."Venue" ALTER COLUMN id SET DEFAULT nextval('public."Venue_id_seq"'::regclass);
--
-- Name: Show id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public."Show" ALTER COLUMN id SET DEFAULT nextval('public."Show_id_seq"'::regclass);
--
-- Data for Name: Artist; Type: TABLE DATA; Schema: public; Owner: -
--
COPY public."Artist" (id, name, genres, city, state, phone, website, facebook_link, seeking_venue, seeking_description, image_link) FROM stdin;
4 Guns N Petals Rock n Roll San Francisco CA 326-123-5000 https://www.gunsnpetalsband.com https://www.facebook.com/GunsNPetals t Looking for shows to perform at in the San Francisco Bay Area! https://images.unsplash.com/photo-1549213783-8284d0336c4f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=300&q=80
5 Matt Quevedo Jazz New York NY 300-400-5000 https://www.theduelingpianos.com \N f \N https://images.unsplash.com/photo-1495223153807-b916f75de8c5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=334&q=80
6 The Wild Sax Band Jazz, Classical San Francisco CA 432-325-5432 \N \N f \N https://images.unsplash.com/photo-1558369981-f9ca78462e61?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=794&q=80
\.
--
-- Data for Name: Venue; Type: TABLE DATA; Schema: public; Owner: -
--
COPY public."Venue" (id, name, genres, address, city, state, phone, website, facebook_link, seeking_talent, seeking_description, image_link) FROM stdin;
1 The Musical Hop Jazz, Reggae, Swing, Classical, Folk 1015 Folsom Street San Francisco CA 123-123-1234 https://www.themusicalhop.com https://www.facebook.com/TheMusicalHop t We are on the lookout for a local artist to play every two weeks. Please call us. https://images.unsplash.com/photo-1543900694-133f37abaaa5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=400&q=60
2 The Dueling Pianos Bar Classical, R&B, Hip-Hop 335 Delancey Street New York NY 914-003-1132 https://www.theduelingpianos.com https://www.facebook.com/theduelingpianos f \N https://images.unsplash.com/photo-1497032205916-ac775f0649ae?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=750&q=80
3 Park Square Live Music & Coffee Rock n Roll, Jazz, Classical, Folk 34 Whiskey Moore Ave San Francisco CA 415-000-1234 https://www.parksquarelivemusicandcoffee.com https://www.facebook.com/ParkSquareLiveMusicAndCoffee f \N https://images.unsplash.com/photo-1485686531765-ba63b07845a7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=747&q=80
\.
--
-- Data for Name: Show; Type: TABLE DATA; Schema: public; Owner: -
--
COPY public."Show" (id, venue_id, artist_id, start_time) FROM stdin;
1 1 4 2023-07-05 21:00:00+00
2 2 5 2023-08-10 23:00:00+00
3 3 6 2023-09-01 20:00:00+00
4 1 4 2023-10-25 20:00:00+00
5 2 5 2023-11-15 20:00:00+00
\.
--
-- Name: Artist_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('public."Artist_id_seq"', 6, true);
--
-- Name: Venue_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('public."Venue_id_seq"', 3, true);
--
-- Name: Show_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('public."Show_id_seq"', 5, true);
--
-- PostgreSQL database dump complete
--