FEAT: Added feature to return streamers data given their username

This commit is contained in:
JustIceO7
2025-02-06 14:52:23 +00:00
parent 1f952b172f
commit eb83fd297a
5 changed files with 26 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ CREATE TABLE streams
(
user_id INTEGER NOT NULL PRIMARY KEY,
title TEXT NOT NULL,
datetime DATETIME NOT NULL,
start_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
num_viewers INTEGER NOT NULL DEFAULT 0,
category_id INTEGER NOT NULL,
FOREIGN KEY (category_id) REFERENCES categories(category_id),