DB upgrade script for 2.2.7