[Rt-commit] r3149 - in rtfm/branches/2.1-TESTING: . etc
etc/upgrade/2.1 lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Tue Jun 14 14:33:48 EDT 2005
Author: jesse
Date: Tue Jun 14 14:33:48 2005
New Revision: 3149
Modified:
rtfm/branches/2.1-TESTING/ (props changed)
rtfm/branches/2.1-TESTING/Makefile.PL
rtfm/branches/2.1-TESTING/etc/schema.Oracle
rtfm/branches/2.1-TESTING/etc/schema.Pg
rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.Oracle
rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.Pg
rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.mysql
rtfm/branches/2.1-TESTING/lib/RT/FM.pm
Log:
r19604 at hualien: jesse | 2005-06-08 03:01:27 -0400
* 2.1.21 ; schema updates for pg and oracle
Modified: rtfm/branches/2.1-TESTING/Makefile.PL
==============================================================================
--- rtfm/branches/2.1-TESTING/Makefile.PL (original)
+++ rtfm/branches/2.1-TESTING/Makefile.PL Tue Jun 14 14:33:48 2005
@@ -8,6 +8,7 @@
HTML::TreeBuilder => 0,
Time::ParseDate => 0,
HTML::FormatText => 0,
+ YAML => 0
);
&WriteAll;
Modified: rtfm/branches/2.1-TESTING/etc/schema.Oracle
==============================================================================
--- rtfm/branches/2.1-TESTING/etc/schema.Oracle (original)
+++ rtfm/branches/2.1-TESTING/etc/schema.Oracle Tue Jun 14 14:33:48 2005
@@ -13,37 +13,6 @@
LastUpdated DATE
);
-
-CREATE SEQUENCE FM_ClassCustomFields_seq;
-CREATE TABLE FM_ClassCustomFields (
-id NUMBER(11,0)
- CONSTRAINT FM_ClassCustomFields_key PRIMARY KEY,
-Class NUMBER(11,0) NOT NULL,
-CustomField NUMBER(11,0) NOT NULL,
-Creator NUMBER(11,0) DEFAULT 0 NOT NULL,
-Created DATE,
-SortOrder NUMBER(11,0) DEFAULT 0 NOT NULL,
-Display varchar2(255) DEFAULT '' NOT NULL,
-LastUpdatedBy NUMBER(11,0) DEFAULT 0 NOT NULL,
-LastUpdated DATE
-);
-
-
-CREATE SEQUENCE FM_CustomFields_seq;
-CREATE TABLE FM_CustomFields (
-id NUMBER(11,0)
- CONSTRAINT FM_CustomFields_key PRIMARY KEY,
-Name varchar2(200) DEFAULT '' NOT NULL,
-Type varchar2(200) DEFAULT '' NOT NULL,
-Description varchar2(200) DEFAULT '' NOT NULL,
-SortOrder NUMBER(11,0) DEFAULT 0 NOT NULL,
-Creator NUMBER(11,0) DEFAULT 0 NOT NULL,
-Created DATE,
-LastUpdatedBy NUMBER(11,0) DEFAULT 0 NOT NULL,
-LastUpdated DATE
-);
-
-
CREATE SEQUENCE FM_Articles_seq;
CREATE TABLE FM_Articles (
id NUMBER(11,0)
@@ -61,50 +30,6 @@
);
-CREATE SEQUENCE FM_CustomFieldValues_seq;
-CREATE TABLE FM_CustomFieldValues (
-id NUMBER(11,0)
- CONSTRAINT FM_CustomFieldValues_key PRIMARY KEY,
-CustomField NUMBER(11,0) NOT NULL,
-Name varchar2(255) DEFAULT '' NOT NULL,
-Description varchar2(255) DEFAULT '',
-SortOrder NUMBER(11,0) DEFAULT 0 NOT NULL,
-Creator NUMBER(11,0) DEFAULT 0 NOT NULL,
-Created DATE,
-LastUpdatedBy NUMBER(11,0) DEFAULT 0 NOT NULL,
-LastUpdated DATE
-);
-
-
-CREATE SEQUENCE FM_ArticleCFValues_seq;
-CREATE TABLE FM_ArticleCFValues (
-id NUMBER(11,0)
- CONSTRAINT FM_ArticleCFValues_key PRIMARY KEY,
-Article NUMBER(11,0) NOT NULL,
-CustomField NUMBER(11,0) NOT NULL,
-Content CLOB,
-Creator NUMBER(11,0) DEFAULT 0 NOT NULL,
-Created DATE,
-LastUpdatedBy NUMBER(11,0) DEFAULT 0 NOT NULL,
-LastUpdated DATE
-);
-
-
-CREATE SEQUENCE FM_Transactions_seq;
-CREATE TABLE FM_Transactions (
-id NUMBER(11,0)
- CONSTRAINT FM_Transactions_key PRIMARY KEY,
-Article NUMBER(11,0) DEFAULT 0 NOT NULL,
-ChangeLog CLOB DEFAULT EMPTY_CLOB(),
-Type varchar2(64) DEFAULT '' NOT NULL,
-Field varchar2(64) DEFAULT '' NOT NULL,
-OldContent CLOB DEFAULT EMPTY_CLOB() NOT NULL,
-NewContent CLOB DEFAULT EMPTY_CLOB() NOT NULL,
-Creator NUMBER(11,0) DEFAULT 0 NOT NULL,
-Created DATE
-);
-
-
CREATE SEQUENCE FM_Topics_seq;
CREATE TABLE FM_Topics (
id NUMBER(11,0)
Modified: rtfm/branches/2.1-TESTING/etc/schema.Pg
==============================================================================
--- rtfm/branches/2.1-TESTING/etc/schema.Pg (original)
+++ rtfm/branches/2.1-TESTING/etc/schema.Pg Tue Jun 14 14:33:48 2005
@@ -12,35 +12,6 @@
PRIMARY KEY (id)
);
-
-CREATE TABLE FM_ClassCustomFields (
-id SERIAL,
-Class integer not NULL,
-CustomField integer not NULL,
-Creator integer NOT NULL DEFAULT 0,
-Created TIMESTAMP NULL,
-SortOrder smallint not null default '0',
-Display varchar(255) not null default '',
-LastUpdatedBy integer NOT NULL DEFAULT 0,
-LastUpdated TIMESTAMP NULL,
-PRIMARY KEY (id)
-);
-
-
-CREATE TABLE FM_CustomFields (
-id SERIAL,
-Name varchar(200) NOT NULL DEFAULT '',
-Type varchar(200) NOT NULL DEFAULT '',
-Description varchar(200) NOT NULL DEFAULT '',
-SortOrder integer NOT NULL DEFAULT 0,
-Creator integer NOT NULL DEFAULT 0,
-Created TIMESTAMP NULL,
-LastUpdatedBy integer NOT NULL DEFAULT 0,
-LastUpdated TIMESTAMP NULL,
-PRIMARY KEY (id)
-);
-
-
CREATE TABLE FM_Articles (
id SERIAL,
Name varchar(255) NOT NULL DEFAULT '',
@@ -57,47 +28,6 @@
);
-CREATE TABLE FM_CustomFieldValues (
-id SERIAL,
-CustomField int NOT NULL,
-Name varchar(255) NOT NULL DEFAULT '',
-Description varchar(255) NOT NULL DEFAULT '',
-SortOrder integer NOT NULL DEFAULT 0,
-Creator integer NOT NULL DEFAULT 0,
-Created TIMESTAMP NULL,
-LastUpdatedBy integer NOT NULL DEFAULT 0,
-LastUpdated TIMESTAMP NULL,
-PRIMARY KEY (id)
-);
-
-
-CREATE TABLE FM_ArticleCFValues (
-id SERIAL,
-Article int NOT NULL,
-CustomField int NOT NULL,
-Content text,
-Creator integer NOT NULL DEFAULT 0,
-Created TIMESTAMP NULL,
-LastUpdatedBy integer NOT NULL DEFAULT 0,
-LastUpdated TIMESTAMP NULL,
-PRIMARY KEY (id)
-);
-
-
-CREATE TABLE FM_Transactions (
-id SERIAL,
-Article integer NOT NULL DEFAULT 0,
-ChangeLog text NOT NULL DEFAULT '',
-Type varchar(64) NOT NULL DEFAULT '',
-Field varchar(64) NOT NULL DEFAULT '',
-OldContent text NOT NULL DEFAULT '',
-NewContent text NOT NULL DEFAULT '',
-Creator integer NOT NULL DEFAULT 0,
-Created TIMESTAMP NULL,
-PRIMARY KEY (id)
-);
-
-
CREATE TABLE FM_Topics (
id SERIAL,
Parent integer NOT NULL DEFAULT 0,
Modified: rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.Oracle
==============================================================================
--- rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.Oracle (original)
+++ rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.Oracle Tue Jun 14 14:33:48 2005
@@ -20,5 +20,3 @@
);
-ALTER TABLE FM_ClassCustomFields
-ADD Display varchar2(255) DEFAULT '' NOT NULL;
Modified: rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.Pg
==============================================================================
--- rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.Pg (original)
+++ rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.Pg Tue Jun 14 14:33:48 2005
@@ -18,5 +18,3 @@
);
-ALTER TABLE FM_ClassCustomFields
-ADD Display varchar(255) not null default '';
Modified: rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.mysql
==============================================================================
--- rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.mysql (original)
+++ rtfm/branches/2.1-TESTING/etc/upgrade/2.1/schema.mysql Tue Jun 14 14:33:48 2005
@@ -18,5 +18,3 @@
) TYPE=InnoDB;
-ALTER TABLE FM_ClassCustomFields
-ADD COLUMN Display varchar(255) not null default '';
Modified: rtfm/branches/2.1-TESTING/lib/RT/FM.pm
==============================================================================
--- rtfm/branches/2.1-TESTING/lib/RT/FM.pm (original)
+++ rtfm/branches/2.1-TESTING/lib/RT/FM.pm Tue Jun 14 14:33:48 2005
@@ -22,7 +22,7 @@
use RT::FM::System;
-our $VERSION = '2.1.20';
+our $VERSION = '2.1.21';
# Create a system object for RTFM
$RT::FM::System = RT::FM::System->new($RT::SystemUser);
More information about the Rt-commit
mailing list