Skip to content

Commit

Permalink
feat: schema additions for streams and role tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobiah committed Jan 20, 2020
1 parent 530c969 commit f275bb4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/settings/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,11 @@ module.exports = [
uid VARCHAR(255) NOT NULL DEFAULT '0',
PRIMARY KEY (type, stream_name)
)`,
`CREATE TABLE IF NOT EXISTS role_stats (
guild_id VARCHAR(20) NOT NULL,
channel_id VARCHAR(20) NOT NULL,
role_id VARCHAR(20) NOT NULL,
prefix VARCHAR(10) NOT NULL DEFAULT '',
PRIMARY KEY (guild_id, channel_id, role_id)
)`,
];

0 comments on commit f275bb4

Please sign in to comment.