REST API application with OAuth2 server on Yii2,Run migrations中报错的解决!
1、REST API application with OAuth2 server on Yii2的地址:https://github.com/ikaras/yii2-oauth2-rest-template
2、运行命令:php application/api/yiic migrate –migrationPath=@vendor/filsh/yii2-oauth2-server/migrations –interactive=0 \ 出错:
3、修改文件:\yii2-oauth2-rest-template\vendor\filsh\yii2-oauth2-server\migrations\m140501_075311_add_oauth2_server.php
4、再次运行命令:php application/api/yiic migrate –migrationPath=@vendor/filsh/yii2-oauth2-server/migrations –interactive=0 \ ,正常运行:
近期评论