[Rt-commit] rt branch, 4.4/drop-ticket-disabled-column, repushed
? sunnavy
sunnavy at bestpractical.com
Mon Nov 17 20:26:42 EST 2014
The branch 4.4/drop-ticket-disabled-column was deleted and repushed:
was 74b960b32ab6f0cded09709793cb1614a8a39170
now e90cbd1922e51c0bc2eed5e2b0f5c702162883a6
1: 74b960b ! 1: e90cbd1 drop Disabled column in Tickets
@@ -79,3 +79,39 @@
+++ b/etc/upgrade/4.3.5/schema.mysql
@@
+ALTER TABLE Tickets DROP COLUMN Disabled;
+
+diff --git a/lib/RT/Ticket.pm b/lib/RT/Ticket.pm
+--- a/lib/RT/Ticket.pm
++++ b/lib/RT/Ticket.pm
+@@
+ =cut
+
+
+-=head2 Disabled
+-
+-Returns the current value of Disabled.
+-(In the database, Disabled is stored as smallint(6).)
+-
+-
+-
+-=head2 SetDisabled VALUE
+-
+-
+-Set Disabled to VALUE.
+-Returns (1, 'Status message') on success and (0, 'Error Message') on failure.
+-(In the database, Disabled will be stored as a smallint(6).)
+-
+-
+ =cut
+
+
+@@
+ {read => 1, auto => 1, sql_type => 4, length => 11, is_blob => 0, is_numeric => 1, type => 'int(11)', default => '0'},
+ Created =>
+ {read => 1, auto => 1, sql_type => 11, length => 0, is_blob => 0, is_numeric => 0, type => 'datetime', default => ''},
+- Disabled =>
+- {read => 1, write => 1, sql_type => 5, length => 6, is_blob => 0, is_numeric => 1, type => 'smallint(6)', default => '0'},
+-
+ }
+ };
+
More information about the rt-commit
mailing list