[Rt-commit] r6817 - in rt/branches/3.7-EXPERIMENTAL-RTIR-2.2: .
ruz at bestpractical.com
ruz at bestpractical.com
Fri Jan 26 10:43:51 EST 2007
Author: ruz
Date: Fri Jan 26 10:43:51 2007
New Revision: 6817
Modified:
rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/ (props changed)
rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/etc/schema.Oracle
Log:
r4292 at cubic-pc (orig r6632): jesse | 2006-12-15 07:39:19 +0300
r46168 at dhcp64-134-35-110: jesse | 2006-12-14 20:38:55 -0800
* Beter quoting on indexes for oracle schema. Should make 9i happier
Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/etc/schema.Oracle
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/etc/schema.Oracle (original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/etc/schema.Oracle Fri Jan 26 10:43:51 2007
@@ -36,7 +36,7 @@
LastUpdated DATE,
Disabled NUMBER(11,0) DEFAULT 0 NOT NULL
);
- CREATE INDEX Queues1 ON Queues (lower(Name));
+ CREATE INDEX Queues1 ON Queues (LOWER('Name'));
CREATE INDEX Queues2 ON Queues (Disabled);
@@ -82,8 +82,8 @@
Instance NUMBER(11,0) DEFAULT 0 -- NOT NULL
-- Instance VARCHAR2(64)
);
-CREATE INDEX Groups1 ON Groups (lower( Domain), Instance, lower(Type), id);
-CREATE INDEX Groups2 ON Groups (lower(Type), Instance, lower(Domain));
+CREATE INDEX Groups1 ON Groups (LOWER('Domain'), Instance, LOWER('Type'), id);
+CREATE INDEX Groups2 ON Groups (LOWER('Type'), Instance, LOWER('Domain'));
CREATE SEQUENCE SCRIPCONDITIONS_seq;
@@ -225,8 +225,8 @@
);
-- CREATE UNIQUE INDEX Users1 ON Users (Name);
-CREATE INDEX Users2 ON Users( LOWER(name));
-CREATE INDEX Users4 ON Users (lower(EmailAddress));
+CREATE INDEX Users2 ON Users( LOWER('Name'));
+CREATE INDEX Users4 ON Users (LOWER('EmailAddress'));
CREATE SEQUENCE TICKETS_seq;
More information about the Rt-commit
mailing list