[Rt-commit] rt branch, 4.4/drop-ticket-disabled-column, created. rt-4.2.5-210-g74b960b
? sunnavy
sunnavy at bestpractical.com
Thu Oct 23 10:58:47 EDT 2014
The branch, 4.4/drop-ticket-disabled-column has been created
at 74b960b32ab6f0cded09709793cb1614a8a39170 (commit)
- Log -----------------------------------------------------------------
commit 74b960b32ab6f0cded09709793cb1614a8a39170
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Oct 23 22:53:02 2014 +0800
drop Disabled column in Tickets
it's not been used for a long long while
Fixes: #30430
diff --git a/etc/schema.Oracle b/etc/schema.Oracle
index 847adfa..2a0849b 100755
--- a/etc/schema.Oracle
+++ b/etc/schema.Oracle
@@ -279,8 +279,7 @@ CREATE TABLE Tickets (
LastUpdatedBy NUMBER(11,0) DEFAULT 0 NOT NULL,
LastUpdated DATE,
Creator NUMBER(11,0) DEFAULT 0 NOT NULL,
- Created DATE,
- Disabled NUMBER(11,0) DEFAULT 0 NOT NULL
+ Created DATE
);
CREATE INDEX Tickets1 ON Tickets (Queue, Status);
CREATE INDEX Tickets2 ON Tickets (Owner);
diff --git a/etc/schema.Pg b/etc/schema.Pg
index c1ef22f..dbe23a3 100755
--- a/etc/schema.Pg
+++ b/etc/schema.Pg
@@ -435,7 +435,6 @@ CREATE TABLE Tickets (
LastUpdated TIMESTAMP NULL ,
Creator integer NOT NULL DEFAULT 0 ,
Created TIMESTAMP NULL ,
- Disabled integer NOT NULL DEFAULT 0 ,
PRIMARY KEY (id)
);
diff --git a/etc/schema.SQLite b/etc/schema.SQLite
index b748d85..80e5749 100755
--- a/etc/schema.SQLite
+++ b/etc/schema.SQLite
@@ -311,9 +311,7 @@ CREATE TABLE Tickets (
LastUpdatedBy integer NULL DEFAULT 0 ,
LastUpdated DATETIME NULL ,
Creator integer NULL DEFAULT 0 ,
- Created DATETIME NULL ,
- Disabled int2 NOT NULL DEFAULT 0
-
+ Created DATETIME NULL
) ;
CREATE INDEX Tickets1 ON Tickets (Queue, Status) ;
diff --git a/etc/schema.mysql b/etc/schema.mysql
index f1458b4..f69ea4c 100755
--- a/etc/schema.mysql
+++ b/etc/schema.mysql
@@ -293,7 +293,6 @@ CREATE TABLE Tickets (
LastUpdated DATETIME NULL ,
Creator integer NOT NULL DEFAULT 0 ,
Created DATETIME NULL ,
- Disabled int2 NOT NULL DEFAULT 0 ,
PRIMARY KEY (id)
) ENGINE=InnoDB CHARACTER SET utf8;
diff --git a/etc/upgrade/4.3.5/schema.Oracle b/etc/upgrade/4.3.5/schema.Oracle
new file mode 100644
index 0000000..cf01202
--- /dev/null
+++ b/etc/upgrade/4.3.5/schema.Oracle
@@ -0,0 +1 @@
+ALTER TABLE Tickets DROP COLUMN Disabled;
diff --git a/etc/upgrade/4.3.5/schema.Pg b/etc/upgrade/4.3.5/schema.Pg
new file mode 100644
index 0000000..ec3f072
--- /dev/null
+++ b/etc/upgrade/4.3.5/schema.Pg
@@ -0,0 +1 @@
+ALTER TABLE Tickets DROP COLUMN Disabled;,
diff --git a/etc/upgrade/4.3.5/schema.mysql b/etc/upgrade/4.3.5/schema.mysql
new file mode 100644
index 0000000..cf01202
--- /dev/null
+++ b/etc/upgrade/4.3.5/schema.mysql
@@ -0,0 +1 @@
+ALTER TABLE Tickets DROP COLUMN Disabled;
-----------------------------------------------------------------------
More information about the rt-commit
mailing list