bug #2924357 [operations] Cannot rename a database that has foreign key constraints