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