Make this a new script.
authorJan Schneider <jan@horde.org>
Thu, 22 Oct 2009 22:21:43 +0000 (00:21 +0200)
committerJan Schneider <jan@horde.org>
Thu, 22 Oct 2009 22:21:43 +0000 (00:21 +0200)
kronolith/scripts/upgrades/2009-08-17_add_resources.sql

index ba5a2cb..44fe816 100644 (file)
@@ -5,12 +5,10 @@ CREATE TABLE kronolith_resources (
     resource_name VARCHAR(255),
     resource_calendar VARCHAR(255),
     resource_description TEXT,
-    resource_response_type INT,
+    resource_category VARCHAR(255) DEFAULT '',
+    resource_response_type INT DEFAULT 0,
     resource_type VARCHAR(255) NOT NULL,
-    resource_members TEXT,
---
+    resource_members BLOB,
+
     PRIMARY KEY (resource_id)
 );
-
-CREATE INDEX kronolith_resources_type_idx ON kronolith_resources (resource_type);
-CREATE INDEX kronolith_resources_calendar_idx ON kronolith_resources (resource_calendar);
\ No newline at end of file