CREATE DATABASE ott_db;
USE ott_db;
CREATE TABLE users(id INT AUTO_INCREMENT PRIMARY KEY,username VARCHAR(100),password_hash TEXT,api_token TEXT,created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP);
CREATE TABLE videos(id INT AUTO_INCREMENT PRIMARY KEY,title VARCHAR(255),description TEXT,filename TEXT,orig_filename TEXT,mime TEXT,size BIGINT,uploaded_by INT,created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP);
