0

Which MySQL field types are supported by the code generator?

Does CI Wiz handle all common field types — VARCHAR, TEXT, INT, TINYINT, DATE, DATETIME, ENUM? What about JSON or BLOB columns?
Posee par Inconnu Jan 19, 2026 78 vues

1 reponse

0
✓ Acceptee
CI Wiz handles the most common MySQL/MariaDB types well: VARCHAR, CHAR, TEXT, TINYTEXT, MEDIUMTEXT, INT, TINYINT, SMALLINT, BIGINT, DECIMAL, FLOAT, DOUBLE, DATE, DATETIME, TIMESTAMP, ENUM, and BOOLEAN/TINYINT(1). For TINYINT(1), CI Wiz typically generates a checkbox input and casts the field as boolean in the entity. ENUM fields become select dropdowns with the enum values as options. JSON and BLOB types are read but not given special UI treatment — they are rendered as plain text areas, and you would need to add your own handling for JSON editing or file display. Large binary data columns are best excluded from generation entirely.
Repondu par cantonner Jan 19, 2026

Veuillez vous connecter pour publier une reponse. vous connecter