PATCH: Fixed error that caused users without a set stream title to be unable to stream
This commit is contained in:
Binary file not shown.
@@ -54,7 +54,6 @@ INSERT INTO categories (category_name) VALUES
|
||||
|
||||
-- Sample Data for streams
|
||||
INSERT INTO streams (user_id, title, start_time, num_viewers, category_id) VALUES
|
||||
(1, 'Epic Gaming Session', '2025-01-25 18:00:00', 150, 1),
|
||||
(2, 'Live Music Jam', '2025-01-25 20:00:00', 350, 2),
|
||||
(3, 'Sketching Live', '2025-01-24 15:00:00', 80, 3),
|
||||
(4, 'Math Made Easy', '2025-01-23 10:00:00', 400, 4);
|
||||
|
||||
@@ -11,8 +11,8 @@ CREATE TABLE users
|
||||
is_live BOOLEAN NOT NULL DEFAULT 0,
|
||||
bio VARCHAR(1024) DEFAULT 'This user does not have a Bio.',
|
||||
|
||||
current_stream_title VARCHAR(100),
|
||||
current_selected_category_id INTEGER
|
||||
current_stream_title VARCHAR(100) DEFAULT 'Stream',
|
||||
current_selected_category_id INTEGER DEFAULT 1
|
||||
);
|
||||
|
||||
SELECT * FROM users;
|
||||
|
||||
Reference in New Issue
Block a user