ERROR while upgrading cluster-database: "FUNCTION: dropForeignKey does not exist"