CREATE TABLE file_history ( id integer PRIMARY KEY AUTOINCREMENT, directory varchar(200) NOT NULL, filename varchar(200) NOT NULL, watch_date datetime NOT NULL );