You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

13 lines
417 B
JavaScript

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
};