More unit tests for checking correct definition of movie. Changed some test to match update functions in tmdb.

This commit is contained in:
2018-10-30 20:32:55 +01:00
parent 5a48158f07
commit 7e46d32e30
9 changed files with 80 additions and 7 deletions

View File

@@ -36,6 +36,14 @@ CREATE TABLE IF NOT EXISTS requests(
type CHAR(50) DEFAULT 'movie'
);
CREATE TABLE IF NOT EXISTS request(
id int not null,
title text not null,
year int not null,
type char(10) not null,
date default current_timestamp
);
CREATE TABLE IF NOT EXISTS stray_eps(
id TEXT UNIQUE,