diff --git a/db/Makefile.am b/db/Makefile.am index 51b764597..040f77c46 100644 --- a/db/Makefile.am +++ b/db/Makefile.am @@ -44,4 +44,5 @@ EXTRA_DIST = \ zm_update-1.24.4.sql \ zm_update-1.26.0.sql \ zm_update-1.26.1.sql \ - zm_update-1.26.2.sql + zm_update-1.26.2.sql \ + zm_update-1.26.3.sql diff --git a/db/zm_update-1.26.3.sql b/db/zm_update-1.26.3.sql new file mode 100644 index 000000000..dae0ca828 --- /dev/null +++ b/db/zm_update-1.26.3.sql @@ -0,0 +1,6 @@ +-- +-- This updates a 1.26.2 database to 1.26.3 +-- +-- No changes required +-- + diff --git a/scripts/zmupdate.pl.in b/scripts/zmupdate.pl.in index efc93706b..a5a667e09 100644 --- a/scripts/zmupdate.pl.in +++ b/scripts/zmupdate.pl.in @@ -1039,6 +1039,13 @@ if ( $version ) $cascade = !undef; } + if ( $cascade || $version eq "1.26.3" ) + { + # Patch the database + patchDB( $dbh, "1.26.3" ); + $cascade = !undef; + } + if ( $cascade ) { my $installed_version = ZM_VERSION;