UPDATE: Revamped database class, and implemented some routes in streams.py

This commit is contained in:
2025-01-28 20:36:13 +00:00
parent cbef531b3e
commit 440063bbd0
6 changed files with 130 additions and 85 deletions

View File

@@ -53,7 +53,5 @@ SELECT * FROM user_preferences;
SELECT * FROM subscribes;
SELECT * FROM categories;
INSERT INTO streams (user_id, title, start_time, num_viewers, isLive, vod_id, category_id) VALUES
(6, 'Epic Gaming Session 2', '2025-01-26 18:00:00', 800, 1, NULL, 1);
INSERT INTO users (username, password, email, num_followers, stream_key, is_partnered, bio) VALUES
('GamerDude2', 'password123', 'gamerdude2@gmail.com', 3200, '6789', 0, 'Streaming my gaming adventures!');
('GamerDude2', 'password123', 'gamerdude3@gmail.com', 3200, '7890', 0, 'Streaming my gaming adventures!');