adding secret as a primary key in members table

This commit is contained in:
shockrah committed 2020-07-13 19:39:35 -07:00
1 parent 3da6c487df
commit 65ccf70091
1 file changed
+1 -1
@@ -6,5 +6,5 @@ CREATE TABLE IF NOT EXISTS `members`(
`joindate` bigint NOT NULL,
`status` integer NOT NULL,
`permissions` bigint UNSIGNED NOT NULL,
PRIMARY KEY( `id` )
PRIMARY KEY( `id` , `secret` )
);