Issue #2938951 by tstoeckler, amateescu, alexpott: The primary key is not correctly re-created when updating the storage definition of an identifier field