From: Jan Schneider Date: Thu, 22 Oct 2009 22:21:43 +0000 (+0200) Subject: Make this a new script. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4fc8a25fcbc6b0a34837e4bd2c5bc1d9d10ff86e;p=horde.git Make this a new script. --- diff --git a/kronolith/scripts/upgrades/2009-08-17_add_resources.sql b/kronolith/scripts/upgrades/2009-08-17_add_resources.sql index ba5a2cbfc..44fe81634 100644 --- a/kronolith/scripts/upgrades/2009-08-17_add_resources.sql +++ b/kronolith/scripts/upgrades/2009-08-17_add_resources.sql @@ -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