yii migrate 报错 [ 2.0 版本 ]
yii migrate --migrationPath=@vendor/filsh/yii2-oauth2-server/migrations
*** applying m140501_075311_add_oauth2_server
PHP Strict Warning 'yii\base\ErrorException' with message 'Declaration of m14050
1_075311_add_oauth2_server::primaryKey() should be compatible with yii\db\Migrat
ion::primaryKey($length = NULL)'
in D:\web\pp\tets\vendor\filsh\yii2-oauth2-server\migrations\m140501_075311_add_
oauth2_server.php:6
共 1 个回答
yii菜鸟
注册时间:2014-09-01
最后登录:2017-10-27
在线时长:61小时59分
最后登录:2017-10-27
在线时长:61小时59分
- 粉丝6
- 金钱316
- 威望0
- 积分926