clean up temp db .sql files.
pull/63/head
noud 2012-12-06 10:04:35 +01:00
parent 0fb14b410e
commit 27f724f3eb
1 changed files with 0 additions and 25 deletions

25
app/MYSQL.correlation.sql Executable file → Normal file
View File

@ -1,25 +0,0 @@
DROP TABLE IF EXISTS `correlations`;
CREATE TABLE `correlations` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`1_event_id` int(11) NOT NULL,
`1_attribute_id` int(11) NOT NULL,
`1_private` tinyint(1) NOT NULL,
`event_id` int(11) NOT NULL,
`attribute_id` int(11) NOT NULL,
`org` varchar(255) COLLATE utf8_bin NOT NULL,
`private` tinyint(1) NOT NULL,
`cluster` tinyint(1) NOT NULL,
`date` date NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=118 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
-- ALTER TABLE `correlations` ADD private tinyint(1) NOT NULL;
-- ALTER TABLE `correlations` ADD org varchar(255) COLLATE utf8_bin NOT NULL;
-- ALTER TABLE `correlations` ADD cluster tinyint(1) NOT NULL;
ALTER TABLE `correlations` ADD 1_private tinyint(1) NOT NULL;
ALTER TABLE `attributes` ADD `cluster` tinyint(1) NOT NULL;
ALTER TABLE `events` ADD `cluster` tinyint(1) NOT NULL;
ALTER TABLE `correlations` ADD 1_org varchar(255) COLLATE utf8_bin NOT NULL;