Bug 23151: DBRev 18.11.07.001

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2019-07-23 00:06:45 +00:00
parent 008573fb60
commit 8a278db2ed
2 changed files with 10 additions and 1 deletions

View File

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "18.11.07.000";
$VERSION = "18.11.07.001";
sub version {
return $VERSION;

View File

@ -17504,6 +17504,15 @@ if ( CheckVersion($DBversion) ) {
SetVersion ($DBversion);
}
$DBversion = '18.11.07.001';
if ( CheckVersion( $DBversion ) ) {
unless ( column_exists( 'borrower_modifications', 'changed_fields' ) ) {
$dbh->do("ALTER TABLE borrower_modifications ADD changed_fields MEDIUMTEXT AFTER verification_token;");
}
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 23151 - Add borrower_modifications.changed_fields column)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.