From 37d07a7d2a3808169b87c5033ef413ce957bf2ef Mon Sep 17 00:00:00 2001
From: redmatrix <redmatrix@redmatrix.me>
Date: Tue, 18 Aug 2015 17:10:40 -0700
Subject: add event_sequence for vtodo's

---
 install/schema_mysql.sql | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'install/schema_mysql.sql')

diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index ef52bcbec..3e0e88535 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -436,6 +436,7 @@ CREATE TABLE IF NOT EXISTS `event` (
   `event_status_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
   `event_percent` smallint(6) NOT NULL DEFAULT '0',
   `event_repeat` text NOT NULL,
+  `event_sequence` smallint(6) NOT NULL DEFAULT '0',
   PRIMARY KEY (`id`),
   KEY `uid` (`uid`),
   KEY `type` (`type`),
@@ -447,7 +448,8 @@ CREATE TABLE IF NOT EXISTS `event` (
   KEY `aid` (`aid`),
   KEY `event_hash` (`event_hash`),
   KEY `event_xchan` (`event_xchan`),
-  KEY `event_status` (`event_status`)
+  KEY `event_status` (`event_status`),
+  KEY `event_sequence` (`event_sequence`)
 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
 
 -- --------------------------------------------------------
-- 
cgit v1.2.3

