Difference between revisions of "Database Table: log2"
From Dreamwidth Notes
Exor674Bot (Talk | contribs) m (Robot: Converting database table to use semantic mediawiki form.) |
Exor674Bot (Talk | contribs) m (Robot: Converting database table to use database table header template.) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Database Table|name=log2|table type=clustered}} |
= Definition = | = Definition = | ||
Revision as of 11:27, 27 January 2010
"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a clustered table.
Definition
CREATE TABLE log2 ( journalid INT UNSIGNED NOT NULL DEFAULT '0', jitemid MEDIUMINT UNSIGNED NOT NULL, PRIMARY KEY (journalid, jitemid), posterid INT(10) UNSIGNED NOT NULL DEFAULT '0', eventtime datetime DEFAULT NULL, logtime datetime DEFAULT NULL, compressed CHAR(1) NOT NULL DEFAULT 'N', anum TINYINT UNSIGNED NOT NULL, security enum('public','private','usemask') NOT NULL DEFAULT 'public', allowmask BIGINT(20) UNSIGNED NOT NULL DEFAULT '0', replycount SMALLINT(5) UNSIGNED DEFAULT NULL, YEAR SMALLINT(6) NOT NULL DEFAULT '0', MONTH tinyint(4) NOT NULL DEFAULT '0', DAY tinyint(4) NOT NULL DEFAULT '0', rlogtime INT(10) UNSIGNED NOT NULL DEFAULT '0', revttime INT(10) UNSIGNED NOT NULL DEFAULT '0', KEY (journalid,YEAR,MONTH,DAY), KEY `rlogtime` (`journalid`,`rlogtime`), KEY `revttime` (`journalid`,`revttime`), KEY `posterid` (`posterid`,`journalid`) )
Relationships
Outgoing
Incoming
- Foreign key: jitemid from logprop2.jitemid
- Foreign key: jitemid from logsec2.jitemid
- Foreign key: jitemid from logtagsrecent.jitemid
- Foreign key: jitemid from logtext2.jitemid