diff --git a/INSTALL/MIGRATE.sql b/INSTALL/MIGRATE.sql index 920755a9a..6f8cd1dc2 100644 --- a/INSTALL/MIGRATE.sql +++ b/INSTALL/MIGRATE.sql @@ -70,4 +70,25 @@ CREATE TABLE IF NOT EXISTS `shadow_attributes` ( KEY `uuid` (`uuid`), KEY `old_id` (`old_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=11 ; --- -------------------------------------------------------- \ No newline at end of file +-- -------------------------------------------------------- + +-- +-- Table structure for table `correlations` +-- + +DROP TABLE `correlations`; + +CREATE TABLE `correlations` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `value` text COLLATE utf8_bin NOT NULL, + `1_event_id` int(11) NOT NULL, + `1_attribute_id` int(11) NOT NULL, + `1_private` tinyint(1) NOT NULL DEFAULT '0', + `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, + `date` date NOT NULL, + `info` text COLLATE utf8_bin NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; \ No newline at end of file