-
Notifications
You must be signed in to change notification settings - Fork 0
/
seed.sql
61 lines (56 loc) · 1.65 KB
/
seed.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
insert into users (
name,
username,
pwhash,
email,
home,
likes,
dislikes,
pal
) values
('Amelia', 'amelia', '$2b$10$4a3j3GgFfAPXQAn3aDsst.XuVs58ozNsYfRM3a/LAbCz3HUzpCGoS', '[email protected]', 'Decatur, GA', 'cats, piano, doc martens, coffee', 'assholes, pot holes, white pants after labor day', 'yes'),
('Jamie', 'jamie', '$2b$10$hcNfrqNcgDhGCkWb3ZvTJe88umWV5GS7/asFIeeAeOl3KNwsuhiwa', '[email protected]', 'Mableton, GA', 'animals, all things emo, youtube', 'school, authority', 'yes'),
('Clare', 'clare', '$2b$10$eTwIGAx0ZtzV/ZjVC5n8WunF9YFY1gJKQU5gyEBrdEVsTMRaQ/zbG', '[email protected]', 'Mableton, GA', 'animals, sleep, coffee, chocolate', 'judgey people, the color pink, politics', 'maybe');
insert into artists (
name
) values
('Elton John'),
('Justin Timberlake'),
('Meiko');
insert into events (
id,
artist,
venue,
city,
state,
date
) values
('E0-001-118770124-8', 'Elton John', 'Boise State University - Taco Bell Arena', 'Boise', 'ID', '2019-01-11 20:00:00'),
('E0-001-111352112-8', 'Justin Timberlake', 'State Farm Arena (Formerly Philips Arena)', 'Atlanta', 'GA', '2019-01-10 19:30:00'),
('E0-001-121493856-2', 'Meiko in Los Angeles!', 'The Hotel Cafe', 'Los Angeles', 'CA', '2019-02-20 20:00:00');
insert into user_shows (
user_id,
event_id
) values
('3','E0-001-121493856-2'),
('1','E0-001-118770124-8'),
('3','E0-001-111352112-8'),
('2','E0-001-121493856-2');
insert into user_friends (
user_id,
friend_id
) values
('1', '2'),
('1', '3'),
('2', '1'),
('2', '3'),
('3', '1'),
('3', '2');
insert into user_artists (
user_id,
artist_id
) values
('1', '1'),
('1', '3'),
('2', '2'),
('3', '1');