mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-15 04:38:00 +00:00
16 lines
270 B
JavaScript
16 lines
270 B
JavaScript
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();
|
|
};
|