db.serialize(function() {
const query =
"INSERT INTO Users " +
"(name, email, notify, created) VALUES " +
"('" + name + "','" + email + "'," + notify + "," + Date.now() + ")";
db.run(query, function(err) {
db.serialize(function() {
const query =
"INSERT INTO Users " +
"(name, email, notify, created) VALUES " +
"('" + name + "','" + email + "'," + notify + "," + Date.now() + ")";
db.run(query, function(err) {