cineclub-script/dumpFile
cartoonnerie 05d20ec695 better one-by-one adding actors
new functionality : calendar from current film
clear exit with Ctrl-D
easier input mode thanks to readline
stay into program after adding a film and selecting it
BUGFIX : modify actors or idN
init BDD OK
TODO: add auto-completion
2019-03-09 03:43:35 +01:00

21 lines
782 B
Text

CREATE TABLE IF NOT EXISTS "acteurs" (
`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
`iFilm` SMALLINTUNSIGNED NOT NULL,
`name` TEXT
);
CREATE TABLE films (
i INTEGER AUTO_INCREMENT PRIMARY KEY,
idN TEXT NOT NULL,
date DATE,
nom TEXT,
realisateur TEXT,
duree INTEGER,
synopsis TEXT,
pays TEXT,
annee INTEGER,
youtube TEXT,
couleur INTEGER,
image TEXT,
formatCopie TEXT,
langST TEXT);
INSERT INTO films VALUES(0,'modele','1-1-1','Titre','Réalisateur',0,'synopsis','Pays',0,'lienYT',1,'lienImg','35mm','VOSTFR');