create composite key for characters_stats