From 60f9621cd9f40fb55f801fa48d6cd81f373f3a6d Mon Sep 17 00:00:00 2001 From: iglocska Date: Thu, 20 Jun 2013 17:16:28 +0200 Subject: [PATCH] Update to the migration --- INSTALL/MIGRATE.sql | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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