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?
Bilinmiyor tarafindan soruldu Jan 19, 2026 77 goruntulenme

1 Cevap

0
✓ Kabul Edildi
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.
cantonner tarafindan cevaplandi Jan 19, 2026

Cevap yazmak icin lutfen giris yapin. giris yapin