inventory: Refs #2147 Transform all int indices to MySQL int(11)