initial commit

This commit is contained in:
Toni
2026-02-09 11:24:43 +01:00
commit 413f24bc96
15 changed files with 2179 additions and 0 deletions

12
migrations/init.sql Normal file
View File

@@ -0,0 +1,12 @@
-- Create database and watchlist table
CREATE DATABASE IF NOT EXISTS whattowatch;
USE whattowatch;
CREATE TABLE IF NOT EXISTS watchlist (
id INT AUTO_INCREMENT PRIMARY KEY,
title VARCHAR(512) NOT NULL,
type VARCHAR(50) DEFAULT 'movie',
watched TINYINT(1) DEFAULT 0,
notes TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);