Index: trunk/extensions/Distribution/distribution.sql |
— | — | @@ -13,8 +13,13 @@ |
14 | 14 | CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/distribution_units ( |
15 | 15 | unit_id INT(8) unsigned NOT NULL auto_increment PRIMARY KEY, |
16 | 16 | unit_name VARCHAR(255) NOT NULL, |
17 | | - -- Latest stable release. |
18 | | - unit_current INT(8) unsigned NOT NULL |
| 17 | + -- Latest stable release id. |
| 18 | + unit_current INT(8) unsigned NOT NULL, |
| 19 | + -- Select info of the latest release to avoid extra lookups. |
| 20 | + current_version_nr VARCHAR(20) NOT NULL, |
| 21 | + current_desc BLOB NOT NULL, |
| 22 | + current_authors BLOB NOT NULL, |
| 23 | + current_url VARCHAR(255) NULL |
19 | 24 | -- early adoptor stuff can be here |
20 | 25 | ) /*$wgDBTableOptions*/; |
21 | 26 | |