fterrier/kevin — pull request #208 by kahigiso (2012-07-07 13:10:33+00:00)
Title: Fix bug for exporting dataElement and Calculation separately

Delete (drop) the table (dhsst_export_data_element) generated by hibernate then run or execute the following script:

1. CREATE TABLE `dhsst_export_data_element` SELECT DISTINCT exporter AS id FROM `dhsst_export_data` ;
2. ALTER TABLE `dhsst_export_data_element` ADD PRIMARY KEY (`id`);
3. ALTER TABLE `dhsst_export_data` CHANGE `data` `dataElements` BIGINT( 20 ) NOT NULL;
4. RENAME TABLE `kevin`.`dhsst_export_data` TO `kevin`.`dhsst_data_element_export` ;