Adding required deps for creating proper users

This commit is contained in:
shockrah
2020-08-05 22:49:11 -07:00
parent a00dd2b442
commit 45120330db
4 changed files with 135 additions and 67 deletions

View File

@@ -1,8 +1,10 @@
-- TODO: add rate limiter in some form
-- PERMISSIONS start at 0 and full perms => all F's
CREATE TABLE IF NOT EXISTS `members`(
`id` bigint UNSIGNED NOT NULL auto_increment,
`secret` varchar(256) NOT NULL,
`name` varchar(255) NOT NULL,
`salt` varhcar(256) NOT NULL,
`name` varchar(256) NOT NULL,
`joindate` bigint NOT NULL,
`status` integer NOT NULL,
`permissions` bigint UNSIGNED NOT NULL,