@@ -, +, @@ --- installer/data/mysql/updatedatabase.pl | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) --- a/installer/data/mysql/updatedatabase.pl +++ a/installer/data/mysql/updatedatabase.pl @@ -7067,6 +7067,17 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = "3.13.00.XXX"; +if ( CheckVersion($DBversion) ) { + #add phone if it is not there already (explains the ignore option) + $dbh->do(" +INSERT IGNORE INTO message_transport_types (message_transport_type) values ('phone'); + "); + print "Upgrade to $DBversion done (Bug 10572: Add phone to message_transport_types table for new installs)\n"; + SetVersion($DBversion); +} + + =head1 FUNCTIONS =head2 TableExists($table) --