Customize page with streamer username

This commit is contained in:
Dessa Simpson 2020-09-10 23:43:53 -07:00
parent b06c425352
commit 249a5911b4
3 changed files with 18 additions and 4 deletions

View file

@ -113,3 +113,8 @@ CREATE OR REPLACE VIEW vote_score_all_vw AS
UNION ALL SELECT * FROM vote_score_subscriber_vw
) AS union_vote_score
GROUP BY url;
CREATE OR REPLACE VIEW streamer_user_vw AS
SELECT users.userid as userid, users.displayname as displayname, users.imageurl as imageurl FROM streamer
LEFT JOIN users
ON streamer.userid = users.userid;