feat(vcroles): Add voice autoroles.

This commit is contained in:
2024-10-05 04:07:46 +10:00
parent ce07f7ae73
commit 81e25e7efc
5 changed files with 211 additions and 0 deletions

View File

@@ -1486,6 +1486,16 @@ CREATE UNIQUE INDEX channel_tags_channelid_name ON channel_tags (channelid, name
-- }}}
-- Voice Roles {{{
CREATE TABLE voice_roles(
voice_role_id SERIAL PRIMARY KEY,
channelid BIGINT NOT NULL,
roleid BIGINT NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);
CREATE INDEX voice_role_channels on voice_roles (channelid);
-- }}}
-- Analytics Data {{{