r54080 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54079‎ | r54080 | r54081 >
Date:09:36, 31 July 2009
Author:dale
Status:deferred
Tags:
Comment:
updated schema
Modified paths:
  • /trunk/extensions/WikiAtHome/WikiAtHome.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiAtHome/WikiAtHome.sql
@@ -2,9 +2,11 @@
33 -- Table structure for table `wah_jobqueue`
44 --
55
 6+DROP TABLE IF EXISTS `wah_jobqueue`;
67 CREATE TABLE IF NOT EXISTS `wah_jobqueue` (
78 `job_id` int(12) unsigned NOT NULL auto_increment,
89 `job_set_id` int(12) unsigned NOT NULL,
 10+ `job_order_id` int(5) NOT NULL,
911 `job_last_assigned_time` int(14) default NULL,
1012 `job_last_assigned_user_id` int(11) unsigned default NULL,
1113 `job_done_time` int(14) default NULL,
@@ -12,9 +14,9 @@
1315 `job_assign_count` int(4) unsigned NOT NULL default '0',
1416 `job_json` blob NOT NULL,
1517 PRIMARY KEY (`job_id`),
16 - KEY `job_set_id` (`job_set_id`),
17 - KEY `job_last_assigned_user_id` (`job_last_assigned_user_id`)
18 -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
 18+ KEY `job_last_assigned_user_id` (`job_last_assigned_user_id`),
 19+ KEY `job_set_id` (`job_set_id`,`job_order_id`)
 20+) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
1921
2022 -- --------------------------------------------------------
2123
@@ -22,6 +24,7 @@
2325 -- Table structure for table `wah_jobset`
2426 --
2527
 28+DROP TABLE IF EXISTS `wah_jobset`;
2629 CREATE TABLE IF NOT EXISTS `wah_jobset` (
2730 `set_id` int(10) unsigned NOT NULL auto_increment,
2831 `set_namespace` int(11) default NULL,
@@ -35,4 +38,4 @@
3639 KEY `set_namespace` (`set_namespace`,`set_title`),
3740 KEY `set_done_time` (`set_done_time`),
3841 KEY `set_client_count` (`set_client_count`)
39 -) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
 42+) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
\ No newline at end of file

Status & tagging log