Skip to content

Commit

Permalink
sql: Add blacklist, whitelist for group
Browse files Browse the repository at this point in the history
Add list of blacklisted and whitelisted servers to group. The string is
supposed to be canonical (lexical sorted, space separated) as produced
by keywordset_get(), so that groups with equal sets can be found by sql
string compare.
  • Loading branch information
donald committed Apr 15, 2020
1 parent 7ee6839 commit ea7872a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mysql/create_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ CREATE TABLE IF NOT EXISTS mxq_group (
group_status INT1 UNSIGNED NOT NULL DEFAULT 0,
group_flags INT8 UNSIGNED NOT NULL DEFAULT 0,
group_priority INT2 UNSIGNED NOT NULL DEFAULT 127,
group_blacklist VARCHAR(1000) NOT NULL DEFAULT '',
group_whitelist VARCHAR(1000) NOT NULL DEFAULT '',

user_uid INT4 UNSIGNED NOT NULL,
user_name VARCHAR(256) NOT NULL,
Expand Down

0 comments on commit ea7872a

Please sign in to comment.