diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 16:58:33 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 16:58:33 -0700 |
commit | 21a232b78413718d8a68867ba7eb4f52a287f9b6 (patch) | |
tree | 988115f9363144a2afdac9e3d9914964a7725105 /rt/etc | |
parent | c24d6e2242ae0e026684b8f95decf156aba6e75e (diff) |
rt 4.0.6
Diffstat (limited to 'rt/etc')
-rw-r--r-- | rt/etc/upgrade/4.0.6/content | 17 | ||||
-rw-r--r-- | rt/etc/upgrade/4.0.6/schema.mysql | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/rt/etc/upgrade/4.0.6/content b/rt/etc/upgrade/4.0.6/content new file mode 100644 index 000000000..dc1a00951 --- /dev/null +++ b/rt/etc/upgrade/4.0.6/content @@ -0,0 +1,17 @@ +@Initial = ( + sub { + my $txns = RT::Transactions->new( $RT::SystemUser ); + $txns->Limit( + FIELD => "ObjectType", + VALUE => "RT::User", + ); + $txns->Limit( + FIELD => "Field", + VALUE => "Password", + ); + while (my $txn = $txns->Next) { + $txn->__Set( Field => $_, Value => '********' ) + for qw/OldValue NewValue/; + } + }, +); diff --git a/rt/etc/upgrade/4.0.6/schema.mysql b/rt/etc/upgrade/4.0.6/schema.mysql new file mode 100644 index 000000000..ab32007ae --- /dev/null +++ b/rt/etc/upgrade/4.0.6/schema.mysql @@ -0,0 +1 @@ +ALTER TABLE Attributes MODIFY Content LONGBLOB; |