Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can you give Database ? #13

Open
nikunjthedreamer opened this issue Jun 10, 2016 · 3 comments
Open

Can you give Database ? #13

nikunjthedreamer opened this issue Jun 10, 2016 · 3 comments
Labels

Comments

@nikunjthedreamer
Copy link

Please provide database so we can easily use it

@githubjeka
Copy link
Owner

githubjeka commented Jun 11, 2016

@edemidenko-zz
Copy link

edemidenko-zz commented Dec 22, 2017

Could you please give an advice... I can't run migrate. It stack after creating user table and I have such error in console:

$ 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'

in C:\Work\yii2-rest\vendor\yiisoft\yii2\base\Component.php:142

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:

  • git clone git@github.com:githubjeka/yii2-rest.git
  • add
    "fxp-asset": {"enabled": false} into composer.json in config part
  • run composer create-project --prefer-dist -s dev.

@githubjeka
Copy link
Owner

githubjeka commented Dec 23, 2017

Getting unknown property: yii\console\Application::security

Something wrong with Yii.

I update composer.json. - a85f8f9
Try to delete vendors directory and update your composer.json too and run composer update

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants