Open nikunjthedreamer opened 8 years ago
https://github.com/githubjeka/yii2-rest/tree/master/console/migrations
Just run php yii migrate
See full steps to install https://github.com/githubjeka/yii2-rest#getting-started
$ php yii migrate Yii Migration Tool (based on Yii v2.0.0-beta)
Creating migration history table "migration"...done. Total 3 new migrations to be applied: m140724_112641_init m140731_074148_post m140922_121411_comments
Apply the above migrations? (yes|no) [no]:yes *** applying m140724_112641_init
create table {{%user}} ... done (time: 0.012s) Exception 'yii\base\UnknownPropertyException' with message 'Getting unknown property: yii\console\Application::security'
Difference in creating project
I was not able to execute -> composer create-project --prefer-dist -s dev "githubjeka/rest-yii2"
due to composer demand exactly 1.0.0 version of the "fxp/composer-asset-plugin" -> otherwise composer project-create
will not be executed successfully!
Instead I run:
"fxp-asset": {"enabled": false}
into composer.json
in config partcomposer create-project --prefer-dist -s dev
.Getting unknown property: yii\console\Application::security
Something wrong with Yii.
I update composer.json. - https://github.com/githubjeka/yii2-rest/commit/a85f8f9cb66d336bf0e4cffa269c14d425e375f4
Try to delete vendors
directory and update your composer.json
too and run composer update
Please provide database so we can easily use it