wingbot-mssql
Version:
MSSQL storage for wingbot.ai
21 lines (16 loc) • 411 B
JavaScript
module.exports = {
async up (next) {
await this.query(`CREATE TABLE botConfigStorage (
id varchar(73),
blocks text,
timestamp bigint
CONSTRAINT PK_botConfigStorage PRIMARY KEY (id)
)`);
next();
},
async down (next) {
await this.query('DROP TABLE IF EXISTS botConfigStorage');
next();
}
};
;