Active
Project:
Transformer
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2007 at 12:59 UTC
Updated:
25 Jan 2007 at 06:39 UTC
Here is the MySQL for the macro table.
CREATE TABLE `transformer_macro` (
`macro_id` int(10) unsigned NOT NULL auto_increment,
`macro_name` varchar(255) NOT NULL default '',
PRIMARY KEY (`macro_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
Here is the queue table with three extras fields.
CREATE TABLE `transformer_queue` (
`transformer_queue_id` int(10) unsigned NOT NULL default '0',
`macro_id` int(10) unsigned NOT NULL default '0',
`priority` int(11) NOT NULL default '0',
`src` text NOT NULL,
`dst` text NOT NULL,
`attempts` smallint(5) unsigned NOT NULL default '0',
`last_exec` int(10) unsigned NOT NULL default '0',
`message` mediumtext
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
I'll submit patches for 5.0 and queue changes soon.
Comments
Comment #1
simetransformer_transform was missing a few as well
Comment #2
m3avrck commentedDitch the ENGINE=MYISAM --- some of us use InnoDB, keep to how core does it ;-)
Comment #3
simeI have bad habits from using phpMyAdmin :-)