Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 488880ca rédigé par Kubat's avatar Kubat
Parcourir les fichiers

DB: In memory db cache, permit some fields to be 0 by default as they may not...

DB: In memory db cache, permit some fields to be 0 by default as they may not be known when downloading a kara
parent 54371eaf
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!162Add a trie structure to get all the commands + various fixes
......@@ -34,11 +34,11 @@ CREATE TABLE IF NOT EXISTS queue_tmp
-- Memory replica of the kara cache
CREATE TABLE IF NOT EXISTS kara_cache
( kara_id INTEGER NOT NULL -- Valid kara id, can't foreign key as the disk is not loaded
, mtime INTEGER NOT NULL -- Last modification date
, duration INTEGER NOT NULL -- Duration of the kara
, file_path TEXT NOT NULL -- Cached filepath
, magic_error INTEGER NOT NULL -- 1 if the mkv is valid, 0 otherwise
( kara_id INTEGER NOT NULL -- Valid kara id, can't foreign key as the disk is not loaded
, mtime INTEGER NOT NULL DEFAULT 0 -- Last modification date
, duration INTEGER NOT NULL DEFAULT 0 -- Duration of the kara
, file_path TEXT NOT NULL -- Cached filepath
, magic_error INTEGER NOT NULL DEFAULT 0 -- 1 if the mkv is valid, 0 otherwise
);
-- Used to store the content of the ini configuration file.
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter