new go version, new upstream versions
This commit is contained in:
@ -15,9 +15,10 @@ CREATE TABLE acls_t (
|
||||
id INTEGER AUTO_INCREMENT,
|
||||
user INTEGER NOT NULL,
|
||||
topic VARCHAR(256) NOT NULL,
|
||||
rw INTEGER(1) NOT NULL DEFAULT 1, -- 1 is read, 2 is write, 3 is readwrite, 4 is subscribe
|
||||
-- rw, bitmask: 1 is read, 2 is write, 3 is readwrite, 4 is subscribe
|
||||
rw INTEGER(1) NOT NULL DEFAULT 1,
|
||||
PRIMARY KEY (id),
|
||||
CONSTRAINT `fk_book_author`
|
||||
CONSTRAINT `fk_user_acl`
|
||||
FOREIGN KEY (user) REFERENCES users_t (id)
|
||||
ON DELETE CASCADE
|
||||
ON UPDATE CASCADE
|
||||
|
Reference in New Issue
Block a user