r92718 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92717‎ | r92718 | r92719 >
Date:00:10, 21 July 2011
Author:catrope
Status:ok
Tags:
Comment:
RL2: Document table fields
Modified paths:
  • /branches/RL2/extensions/Gadgets/sql/gadgets.sql (modified) (history)

Diff [purge]

Index: branches/RL2/extensions/Gadgets/sql/gadgets.sql
@@ -1,8 +1,11 @@
22 -- Add gadgets table
33
44 CREATE TABLE /*_*/gadgets (
 5+ -- Name of gadget. Cannot be changed, ever.
56 gd_name varchar(255) binary NOT NULL PRIMARY KEY,
 7+ -- JSON blob with gadget properties. See (TODO: fill this) for documentation on the format
68 gd_blob mediumblob NOT NULL,
 9+ -- Whether or not this gadget is global (called 'shared' in the interface)
710 gd_global bool NOT NULL
811 ) /*$wgDBTableOptions*/;
912

Status & tagging log