[Rt-commit] r8960 - in rt/branches/3.7-EXPERIMENTAL: . etc
etc/upgrade/3.7.15
sartak at bestpractical.com
sartak at bestpractical.com
Thu Sep 6 22:54:30 EDT 2007
Author: sartak
Date: Thu Sep 6 22:54:28 2007
New Revision: 8960
Removed:
rt/branches/3.7-EXPERIMENTAL/etc/upgrade/3.7.15/schema.Oracle
rt/branches/3.7-EXPERIMENTAL/etc/upgrade/3.7.15/schema.Pg
rt/branches/3.7-EXPERIMENTAL/etc/upgrade/3.7.15/schema.mysql
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/etc/schema.Informix
rt/branches/3.7-EXPERIMENTAL/etc/schema.Oracle
rt/branches/3.7-EXPERIMENTAL/etc/schema.Pg
rt/branches/3.7-EXPERIMENTAL/etc/schema.SQLite
rt/branches/3.7-EXPERIMENTAL/etc/schema.Sybase
rt/branches/3.7-EXPERIMENTAL/etc/schema.mysql
rt/branches/3.7-EXPERIMENTAL/lib/RT/User.pm
Log:
r42407 at onn: sartak | 2007-09-06 22:54:15 -0400
Revert schema changes, PreferredKey wants to be an attribute
Modified: rt/branches/3.7-EXPERIMENTAL/etc/schema.Informix
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/etc/schema.Informix (original)
+++ rt/branches/3.7-EXPERIMENTAL/etc/schema.Informix Thu Sep 6 22:54:28 2007
@@ -209,7 +209,6 @@
Country VARCHAR(50),
Timezone VARCHAR(50),
PGPKey BYTE,
- PreferredKey BYTE,
Creator INTEGER DEFAULT 0 NOT NULL,
Created DATETIME YEAR TO SECOND,
LastUpdatedBy INTEGER DEFAULT 0 NOT NULL,
Modified: rt/branches/3.7-EXPERIMENTAL/etc/schema.Oracle
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/etc/schema.Oracle (original)
+++ rt/branches/3.7-EXPERIMENTAL/etc/schema.Oracle Thu Sep 6 22:54:28 2007
@@ -218,7 +218,6 @@
Country VARCHAR2(50),
Timezone VARCHAR2(50),
PGPKey CLOB,
- PreferredKey CLOB,
Creator NUMBER(11,0) DEFAULT 0 NOT NULL,
Created DATE,
LastUpdatedBy NUMBER(11,0) DEFAULT 0 NOT NULL,
Modified: rt/branches/3.7-EXPERIMENTAL/etc/schema.Pg
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/etc/schema.Pg (original)
+++ rt/branches/3.7-EXPERIMENTAL/etc/schema.Pg Thu Sep 6 22:54:28 2007
@@ -353,7 +353,6 @@
Country varchar(50) NULL ,
Timezone varchar(50) NULL ,
PGPKey text NULL,
- PreferredKey text NULL,
Creator integer NOT NULL DEFAULT 0 ,
Created TIMESTAMP NULL ,
Modified: rt/branches/3.7-EXPERIMENTAL/etc/schema.SQLite
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/etc/schema.SQLite (original)
+++ rt/branches/3.7-EXPERIMENTAL/etc/schema.SQLite Thu Sep 6 22:54:28 2007
@@ -236,7 +236,6 @@
Country varchar(50) NULL ,
Timezone char(50) NULL ,
PGPKey text NULL,
- PreferredKey text NULL,
Creator integer NULL ,
Created DATETIME NULL ,
Modified: rt/branches/3.7-EXPERIMENTAL/etc/schema.Sybase
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/etc/schema.Sybase (original)
+++ rt/branches/3.7-EXPERIMENTAL/etc/schema.Sybase Thu Sep 6 22:54:28 2007
@@ -247,7 +247,6 @@
Country varchar(50) NULL ,
Timezone varchar(50) NULL ,
PGPKey text NULL,
- PreferredKey text NULL,
Creator integer NOT NULL ,
Created DATETIME NULL ,
Modified: rt/branches/3.7-EXPERIMENTAL/etc/schema.mysql
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/etc/schema.mysql (original)
+++ rt/branches/3.7-EXPERIMENTAL/etc/schema.mysql Thu Sep 6 22:54:28 2007
@@ -247,7 +247,6 @@
Country varchar(50) NULL ,
Timezone varchar(50) NULL ,
PGPKey text NULL,
- PreferredKey text NULL,
Creator integer NOT NULL DEFAULT 0 ,
Created DATETIME NULL ,
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/User.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/User.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/User.pm Thu Sep 6 22:54:28 2007
@@ -118,7 +118,6 @@
varchar(50) 'Country'.
varchar(50) 'Timezone'.
text 'PGPKey'.
- text 'PreferredKey'.
=cut
@@ -157,7 +156,6 @@
Country => '',
Timezone => '',
PGPKey => '',
- PreferredKey => '',
@_);
$self->SUPER::Create(
@@ -190,7 +188,6 @@
Country => $args{'Country'},
Timezone => $args{'Timezone'},
PGPKey => $args{'PGPKey'},
- PreferredKey => $args{'PreferredKey'},
);
}
@@ -727,22 +724,6 @@
=cut
-=head2 PreferredKey
-
-Returns the current value of PreferredKey.
-(In the database, PreferredKey is stored as text.)
-
-
-
-=head2 SetPreferredKey VALUE
-
-
-Set PreferredKey to VALUE.
-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
-(In the database, PreferredKey will be stored as a text.)
-
-
-=cut
=head2 Creator
@@ -844,7 +825,6 @@
{read => 1, write => 1, sql_type => 12, length => 50, is_blob => 0, is_numeric => 0, type => 'varchar(50)', default => ''},
PGPKey =>
{read => 1, write => 1, sql_type => -4, length => 0, is_blob => 1, is_numeric => 0, type => 'text', default => ''},
- PreferredKey =>
{read => 1, write => 1, sql_type => -4, length => 0, is_blob => 1, is_numeric => 0, type => 'text', default => ''},
Creator =>
{read => 1, auto => 1, sql_type => 4, length => 11, is_blob => 0, is_numeric => 1, type => 'int(11)', default => '0'},
More information about the Rt-commit
mailing list