Merge branch 'sqlite3' of lubiland/heimdall into develop
						commit
						b17fc2dc6c
					
				@ -0,0 +1,13 @@
 | 
			
		||||
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*/
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue