Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

doctrine schema update #173

Closed
Fed0t opened this issue Jul 15, 2018 · 1 comment
Closed

doctrine schema update #173

Fed0t opened this issue Jul 15, 2018 · 1 comment

Comments

@Fed0t
Copy link

Fed0t commented Jul 15, 2018

bin/console doctrine:schema:update --force
no migrations detected :)
Message:
[OK] Nothing to update - your database is already in sync with the current entity metadata.

prod.log output:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'techbuy.bitbag_cms_block' doesn't exist

@bitbager
Copy link
Member

bitbager commented Jul 15, 2018

Seems like you have problems with environments. Read this - https://symfony.com/doc/current/configuration/environments.html.

tl;dr - use -e prod flag.

pogorivan pushed a commit to pogorivan/SyliusCmsPlugin that referenced this issue Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants