const dbtools = module.exports = {}; dbtools.createSchema = (db) => { db.run('CREATE TABLE IF NOT EXISTS permissions ( \ id INTEGER PRIMARY KEY NOT NULL, \ mxid TEXT, \ omni INTEGER, \ project TEXT, \ service TEXT, \ subcommand TEXT, \ args TEXT \ )'); // the inner bracket for sql, the outer for closing the function };