Skip to content

Commit

Permalink
fix(monitor): fix incorrect mysql definition, fix #238
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Apr 21, 2021
1 parent fc00ff6 commit 6ccca1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-monitor/src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Database.extend('koishi-plugin-mysql', {
Database.extend('koishi-plugin-mysql', ({ tables, Domain }) => {
tables.channel.subscribe = new Domain.Json()
tables.subscribe = {
id: '`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT',
id: 'INT(10) UNSIGNED NOT NULL AUTO_INCREMENT',
names: new Domain.Array(),
}
})
Expand Down

0 comments on commit 6ccca1b

Please sign in to comment.