Make this a new script.
authorJan Schneider <jan@horde.org>
Thu, 22 Oct 2009 22:25:03 +0000 (00:25 +0200)
committerJan Schneider <jan@horde.org>
Thu, 22 Oct 2009 22:25:03 +0000 (00:25 +0200)
kronolith/scripts/upgrades/2009-10-22_resource_indexes.sql [new file with mode: 0644]

diff --git a/kronolith/scripts/upgrades/2009-10-22_resource_indexes.sql b/kronolith/scripts/upgrades/2009-10-22_resource_indexes.sql
new file mode 100644 (file)
index 0000000..36d08f6
--- /dev/null
@@ -0,0 +1,3 @@
+ALTER TABLE kronolith_resources DROP resource_category;
+CREATE INDEX kronolith_resources_type ON kronolith_resources (resource_type);
+CREATE INDEX kronolith_resources_calendar ON kronolith_resources (resource_calendar);