Cache file size

This commit is contained in:
nemunaire 2016-01-18 19:38:59 +01:00
commit c33c2b8e8a
2 changed files with 12 additions and 8 deletions

View file

@ -61,6 +61,7 @@ CREATE TABLE IF NOT EXISTS exercice_files(
id_exercice INTEGER NOT NULL,
name TEXT NOT NULL,
sha1 BLOB NOT NULL,
size INTEGER NOT NULL,
FOREIGN KEY(id_exercice) REFERENCES exercices(id_exercice)
);
CREATE TABLE IF NOT EXISTS exercice_keys(