error attempting upgrade database schema