@@ -, +, @@ --- installer/data/mysql/atomicupdate/bug_21682.perl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_21682.perl --- a/installer/data/mysql/atomicupdate/bug_21682.perl +++ a/installer/data/mysql/atomicupdate/bug_21682.perl @@ -0,0 +1,7 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + $dbh->do( "ALTER TABLE `stockrationrotas` ALTER COLUMN `description` DROP DEFAULT" ); + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 21682 - Remove default on stockrationrotas.description )\n"; +} --