yii 2 Crear migración con campos
yii migrate/create create_post_table --fields="title:string(12):notNull:unique,body:text"
mikelikestocode
yii migrate/create create_post_table --fields="title:string(12):notNull:unique,body:text"