Lint server, remove body-parser

This commit is contained in:
Kevin Thomas
2021-07-23 17:10:44 -07:00
parent 9f5a3a5ad8
commit 1be716d85a
10 changed files with 264 additions and 17123 deletions

View File

@@ -1,15 +1,7 @@
const db = require('../db');
const db = require('../db')
module.exports = function() {
db.serialize(function() {
db.run("CREATE TABLE IF NOT EXISTS users ( \
username TEXT UNIQUE, \
hashed_password BLOB, \
salt BLOB, \
name TEXT \
)");
});
//db.close();
};
module.exports = function () {
db.serialize(function () {
db.run('CREATE TABLE IF NOT EXISTS users ( username TEXT UNIQUE, hashed_password BLOB, salt BLOB, name TEXT)')
})
}