Skip to content

Commit

Permalink
Add Oracle updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrandtbuffalo committed Aug 5, 2024
1 parent 507f6c3 commit b123ecc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/schema.Oracle
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ CREATE TABLE Tickets (
Type VARCHAR2(16),
Owner NUMBER(11,0) DEFAULT 0 NOT NULL,
Subject VARCHAR2(200) DEFAULT '[no subject]',
Description CLOB,
InitialPriority NUMBER(11,0) DEFAULT 0 NOT NULL,
FinalPriority NUMBER(11,0) DEFAULT 0 NOT NULL,
Priority NUMBER(11,0) DEFAULT 0 NOT NULL,
Expand All @@ -276,6 +277,7 @@ CREATE TABLE Tickets (
CREATE INDEX Tickets1 ON Tickets (Queue, Status);
CREATE INDEX Tickets2 ON Tickets (Owner);
CREATE INDEX Tickets6 ON Tickets (EffectiveId, Type);
CREATE INDEX Tickets7 ON Tickets (Description) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('MAINTENANCE AUTO');


CREATE SEQUENCE SCRIPACTIONS_seq;
Expand Down
2 changes: 2 additions & 0 deletions etc/upgrade/5.9.1/schema.Oracle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE Tickets ADD Description CLOB;
CREATE INDEX Tickets7 ON Tickets (Description) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('MAINTENANCE AUTO');

0 comments on commit b123ecc

Please sign in to comment.