mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-07 13:15:28 +02:00
Add file_web_serve_batch table
This commit is contained in:
parent
37c78209a8
commit
f105c25e17
1 changed files with 9 additions and 0 deletions
|
@ -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);
|
return cb(null);
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Add table
Add a link
Reference in a new issue