DragonFireGames it uses sqlite
if(typeof(success) != "function") success = function(){};
if(typeof(failure) != "function") failure = function(){};
if(!Array.isArray(columns)) return console.error("'keys' is not an array!");
sql = `CREATE TABLE ${name}(id PRIMARY KEY NOT NULL unique, ${columns.join(",")})`
database.run(sql, (err) => {
if(err) {failure(`failed to create table "${name}": ${err}`); return console.error(err)}
success(`successfully created table "${name}"`);
});
this is just for creating a table