Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

yii 2 create migration with fields

yii migrate/create create_post_table --fields="title:string(12):notNull:unique,body:text"
Source by www.yiiframework.com #
 
PREVIOUS NEXT
Tagged: #yii #create #migration #fields
ADD COMMENT
Topic
Name
9+7 =