Use general types for mysql fields