* Badges now have an optional permissions field
* New struct changes integrating badge system
This commit is contained in:
@@ -2,5 +2,6 @@ CREATE TABLE IF NOT EXISTS `badges`(
|
||||
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`name` VARCHAR(256) NOT NULL,
|
||||
`color` INTEGER UNSIGNED NOT NULL DEFAULT 0xFFFFFFFF,
|
||||
`permissions` INTEGER UNSIGNED, -- nullable because this isn't logically applicable to every badge
|
||||
PRIMARY KEY(`id`)
|
||||
);
|
||||
Reference in New Issue
Block a user