forked from alicia-peters-dev/Radio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sql
33 lines (28 loc) · 967 Bytes
/
setup.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
create table android_metadata (
locale text
);
create table stations (
_id integer primary key,
name text,
url text
);
create table recording_type (
_id integer primary key,
type text
);
create table recording_schedule (
_id integer primary key,
start_time integer,
end_time integer,
station integer,
type integer,
foreign key (station) references stations (_id),
foreign key (type) references recording_type (_id)
);
insert into recording_type values (null, 'One-Off' );
insert into recording_type values (null, 'Daily' );
insert into recording_type values (null, 'Weekly' );
insert into stations values (null, 'Sub.fm', 'http://sub.fm/listenwinamp128k.pls');
insert into stations values (null, 'Rinse.fm', 'http://podcast.dgen.net:8000/rinseradio.m3u');
insert into stations values (null, 'Passion Radio (Bristol)', 'http://88.208.231.77:9000/listen.pls');
insert into stations values (null, 'Kool London', 'http://uk1-pn.mixstream.net/8698.pls');