php - How to addColumn character varying(3)[] for Phinx
one text
Solution:
Phinx support custom types and you can forgo type check and write your own custom types:
addColumn(
'MY_COLUMN_NAME',
Literal::from('CHARACTER VARYING(3)[]'),
[
'null' => true,
'comment' => 'SOME COMMENT ABOUT MY COLUMN'
])
Source