-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.sql
152 lines (149 loc) · 4.78 KB
/
init.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
-- Insert a single user
INSERT INTO
users (username, password, email)
VALUES
(
'testuser',
'$2a$10$cCg4I596LKbghcph7pdFN.JoJQ5sEKCHgEUP/njhrcHhQ2x8yg.Cu',
'test@mail.com'
);
-- Insert multiple tags
INSERT INTO
tags (title, code, usage)
VALUES
('Technology', 'technology', 530),
('Science', 'science', 410),
('Health', 'health', 325),
('Education', 'education', 275),
('Finance', 'finance', 600),
('Sports', 'sports', 475),
('Travel', 'travel', 200),
('Food', 'food', 150),
('Art', 'art', 100),
('History', 'history', 50);
-- Insert multiple podcasts
INSERT INTO
podcasts (
website,
mygpo_link,
description,
subscribers,
title,
author,
url,
logo_url
)
VALUES
(
'http://coverville.com',
'http://www.gpodder.net/podcast/16124',
'The best cover songs, delivered to your ears two to three times a week!',
19,
'Coverville',
'Brian Ibbott',
'http://feeds.feedburner.com/coverville',
'http://www.coverville.com/art/coverville_iTunes300.jpg'
),
(
'http://freakonomics.com',
'http://www.gpodder.net/podcast/23456',
'Discover the hidden side of everything with Stephen J. Dubner, co-author of the Freakonomics books.',
15000,
'Freakonomics Radio',
'Stephen J. Dubner',
'http://feeds.feedburner.com/freakonomics',
'http://freakonomics.com/images/logo.png'
),
(
'http://serialpodcast.org',
'http://www.gpodder.net/podcast/34567',
'Serial is a podcast from the creators of This American Life, hosted by Sarah Koenig.',
30000,
'Serial',
'Sarah Koenig',
'http://feeds.serialpodcast.org/serialpodcast',
'http://serialpodcast.org/images/logo.jpg'
),
(
'http://radiolab.org',
'http://www.gpodder.net/podcast/45678',
'Radiolab is a show about curiosity, where sound illuminates ideas and the boundaries blur between science, philosophy, and human experience.',
25000,
'Radiolab',
'Jad Abumrad and Robert Krulwich',
'http://feeds.radiolab.org/radiolab',
'http://radiolab.org/images/logo.png'
),
(
'http://thetimferrissshow.com',
'http://www.gpodder.net/podcast/56789',
'The Tim Ferriss Show is the first business/interview podcast to exceed 100 million downloads.',
45000,
'The Tim Ferriss Show',
'Tim Ferriss',
'http://feeds.feedburner.com/timferriss',
'http://timferriss.com/images/logo.png'
);
-- Insert multiple podcast episodes
INSERT INTO
episodes (
title,
url,
podcast_title,
podcast_url,
description,
website,
released,
mygpo_link
)
VALUES
(
'TWiT 245: No Hitler For You',
'http://www.podtrac.com/pts/redirect.mp3/aolradio.podcast.aol.com/twit/twit0245.mp3',
'this WEEK in TECH - MP3 Edition',
'http://leo.am/podcasts/twit',
'A roundtable discussion about the latest trends in technology.',
'http://www.podtrac.com/pts/redirect.mp3/aolradio.podcast.aol.com/twit/twit0245.mp3',
'2010-12-25T00:30:00',
'http://gpodder.net/episode/1046492'
),
(
'Coverville 123: Best of Beatles Covers',
'http://www.coverville.com/audio/Coverville123.mp3',
'Coverville',
'http://feeds.feedburner.com/coverville',
'An hour of some of the best Beatles covers from across the years.',
'http://coverville.com',
'2011-01-05T12:00:00',
'http://gpodder.net/episode/54321'
),
(
'Freakonomics Episode 156: The Upside of Quitting',
'http://freakonomics.com/audio/freakonomics156.mp3',
'Freakonomics Radio',
'http://feeds.feedburner.com/freakonomics',
'Why quitting can sometimes be the best thing to do.',
'http://freakonomics.com',
'2012-03-15T14:00:00',
'http://gpodder.net/episode/65432'
),
(
'Serial Episode 9: To Be Suspected',
'http://serialpodcast.org/audio/serial09.mp3',
'Serial',
'http://feeds.serialpodcast.org/serialpodcast',
'In this episode, we delve deeper into the investigation of the crime.',
'http://serialpodcast.org',
'2014-11-06T09:30:00',
'http://gpodder.net/episode/76543'
),
(
'Radiolab: The Trust Engineers',
'http://radiolab.org/audio/radiolab-trust.mp3',
'Radiolab',
'http://feeds.radiolab.org/radiolab',
'Exploring the engineers who build systems of trust in the digital age.',
'http://radiolab.org',
'2015-02-19T16:00:00',
'http://gpodder.net/episode/87654'
);