Modified the primary and unique key schema.