Using h5p-bundle in a multi-tenant symfony web application #55
Locked
iflorespaz
started this conversation in
General
Replies: 2 comments
-
I was able to map all the entities into my tenant databases doing this in my doctrine.yaml file.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Normally you can just point your command to use a certain connection
This should run the migrations again. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Guys,
I used this bundle in a default Symfony 5.1 application and works perfect, I think you did a good job.
when I run:
php bin/console doctrine:schema:update --force
all run perfect in the above command, but when I run the same code in a multi-tenant Symfony 5.1 app this does not work.
php bin/console doctrine:schema:update --force
and tables never were created in the tenant database.
I was thinking(This is only an Idea) if would be possible to extend this bundle and make it something like "FOSUserBundle" where you only create a class that extends of the base class and you can customize the bundle according to our needs(developers).
I know all the enhancements for a bundle require time, I understand this perfectly because I'm also a developer, So I would like help you moving forward this very good project to the next level.
Could you check if improve the bundle to work with Multi-tenant apps is something feasible from your point of view?
Maybe this could help to check the complexity according to my doctrine config file.
` connections:
Best regards,
Isaac Flores
Beta Was this translation helpful? Give feedback.
All reactions