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_postgres.sql | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'install/schema_postgres.sql')

diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql
index d7cf81d44..9f92607e0 100644
--- a/install/schema_postgres.sql
+++ b/install/schema_postgres.sql
@@ -336,6 +336,7 @@ CREATE TABLE "event" (
   "event_status_date" timestamp NOT NULL DEFAULT '0001-01-01 00:00:00',
   "event_percent" smallint(6) NOT NULL DEFAULT '0',
   "event_repeat" text NOT NULL,
+  "event_sequence" smallint NOT NULL DEFAULT '0',
   PRIMARY KEY ("id")
 );
 create index "event_uid_idx" on event ("uid");
@@ -349,6 +350,7 @@ create index "event_aid_idx" on event ("aid");
 create index "event_hash_idx" on event ("event_hash");
 create index "event_xchan_idx" on event ("event_xchan");
 create index "event_status_idx" on event ("event_status");
+create index "event_sequence_idx" on event ("event_sequence");
 
 
 CREATE TABLE "fcontact" (
-- 
cgit v1.2.3

