Add unique index for category key