Add file_web_serve_batch table
This commit is contained in:
parent
37c78209a8
commit
f105c25e17
|
@ -374,6 +374,15 @@ const DB_INIT_TABLE = {
|
|||
);`
|
||||
);
|
||||
|
||||
dbs.file.run(
|
||||
`CREATE TABLE IF NOT EXISTS file_web_serve_batch (
|
||||
hash_id VARCHAR NOT NULL,
|
||||
file_id INTEGER NOT NULL,
|
||||
|
||||
UNIQUE(hash_id, file_id)
|
||||
);`
|
||||
);
|
||||
|
||||
return cb(null);
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue