CREATE TABLE logsec2 ( journalid INT UNSIGNED NOT NULL, jitemid MEDIUMINT UNSIGNED NOT NULL, allowmask BIGINT UNSIGNED NOT NULL, PRIMARY KEY (journalid,jitemid) )