CREATE TABLE `0_debtors_master` (
`debtor_no` int(11) NOT NULL auto_increment,
- `name` varchar(80) NOT NULL default '',
+ `name` varchar(100) NOT NULL default '',
`debtor_ref` varchar(30) NOT NULL,
`address` tinytext,
`email` varchar(100) NOT NULL default '',
DROP TABLE IF EXISTS `0_sales_orders`;
CREATE TABLE `0_sales_orders` (
- `order_no` int(11) NOT NULL auto_increment,
+ `order_no` int(11) NOT NULL,
`trans_type` smallint(6) NOT NULL default '30',
`version` tinyint(1) unsigned NOT NULL default '0',
`type` tinyint(1) NOT NULL default '0',
### Data of table `0_workorders` ###
+
+
+### Structure of table `0_tags` ###
+
+DROP TABLE IF EXISTS `0_tags`;
+
+CREATE TABLE `0_tags` (
+ `id` int(11) NOT NULL auto_increment,
+ `type` smallint(6) NOT NULL,
+ `name` varchar(60) NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY(`type`,`name`)
+) TYPE=MyISAM AUTO_INCREMENT=1;
+
+
+### Data of table `0_chart_tags` ###
+
+
+
+### Structure of table `0_tag_associations` ###
+
+DROP TABLE IF EXISTS `0_tag_associations`;
+
+CREATE TABLE `0_tag_associations` (
+ `id` int(11) NOT NULL auto_increment,
+ `record_id` varchar(11) NOT NULL,
+ `tag_id` int(11) NOT NULL,
+ PRIMARY KEY (`id`)
+) TYPE=MyISAM AUTO_INCREMENT=1;
+
+
+### Data of table `0_tag_associations` ###