[Rt-commit] r6632 - in rt/branches/3.6-RELEASE: .
jesse at bestpractical.com
jesse at bestpractical.com
Thu Dec 14 23:39:20 EST 2006
Author: jesse
Date: Thu Dec 14 23:39:19 2006
New Revision: 6632
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/etc/schema.Oracle
Log:
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.6-RELEASE/etc/schema.Oracle
==============================================================================
--- rt/branches/3.6-RELEASE/etc/schema.Oracle (original)
+++ rt/branches/3.6-RELEASE/etc/schema.Oracle Thu Dec 14 23:39:19 2006
@@ -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