new go version, new upstream versions

This commit is contained in:
2020-07-03 20:06:04 +02:00
parent 08c708de12
commit 22bcecc9b3
2 changed files with 4 additions and 3 deletions

View File

@ -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