yii migrate/create create_post_table --fields="title:string(12):notNull:unique,body:text"
yii migrate/create create_post_table --fields="author_id:integer:notNull:foreignKey(user),category_id:integer:defaultValue(1):foreignKey,title:string,body:text"