Version 1.0.4 database upgrade scripts