Issues with integrating Doctrine ORM to create tables in Pimcore #17043
Unanswered
AlephCode
asked this question in
Q&A / Support
Replies: 1 comment 1 reply
-
@fashxp Can you help me with that pls? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Pimcorenauts,
I'm experiencing some issues while trying to generate and apply migrations in my Pimcore project, and I was wondering if you could help me resolve them.
Currently, my Doctrine ORM and migrations configuration in my config.yml file looks like this:
However, when I run the make:migration command, the migration is not generated in the specified folder in my configuration. Instead, migrations are only generated for the Pimcore bundles.
After doing some research, I found a suggestion in a forum to use the command bin/console doctrine:migrations:diff --em=default --namespace=App\Migrations to generate migrations. This seems to work, but when I run the migrate command, I encounter a series of errors that I don't fully understand.
I was wondering if any of you have experienced similar issues when integrating Doctrine ORM into a Pimcore project. Could you guide me on what I might be doing wrong or if there are any additional steps I should follow to resolve this issue?
I would greatly appreciate any help or suggestions you can offer to help me solve these problems and make my migrations work correctly.
Thank you in advance for your time and assistance!
Beta Was this translation helpful? Give feedback.
All reactions