* /badge/update/perms {perms} param is now {badge_perms}
This makes the parameter follow the naming convention of badge_* * badges.id field now uses BIGINT's as intended * Typo in sql where 'badges' was incorrectly set to 'perms' -_-
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS `badges`(
|
||||
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`id` BIGINT 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