r102690 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102689‎ | r102690 | r102691 >
Date:21:03, 10 November 2011
Author:aaron
Status:ok
Tags:
Comment:
Added some revision table comments
Modified paths:
  • /trunk/phase3/maintenance/tables.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tables.sql
@@ -273,6 +273,7 @@
274274 -- to the text storage backend.
275275 --
276276 CREATE TABLE /*_*/revision (
 277+ -- Unique ID to identify each revision
277278 rev_id int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
278279
279280 -- Key to page_id. This should _never_ be invalid.
@@ -296,14 +297,14 @@
297298 -- Text username or IP address of the editor.
298299 rev_user_text varchar(255) binary NOT NULL default '',
299300
300 - -- Timestamp
 301+ -- Timestamp of when revision was created
301302 rev_timestamp binary(14) NOT NULL default '',
302303
303304 -- Records whether the user marked the 'minor edit' checkbox.
304305 -- Many automated edits are marked as minor.
305306 rev_minor_edit tinyint unsigned NOT NULL default 0,
306307
307 - -- Not yet used; reserved for future changes to the deletion system.
 308+ -- Restrictions on who can access this revision
308309 rev_deleted tinyint unsigned NOT NULL default 0,
309310
310311 -- Length of this revision in bytes

Status & tagging log