-
Notifications
You must be signed in to change notification settings - Fork 164
Create database schema with Doctrine #17
Comments
I don't personally know/use Doctrine, but I gladly accept pull requests for fixes. I believe @Ocramius said he was going to take a closer look at Doctrine integration. |
@gamempire yes, it is possible to achieve that by adding mappings for the role entity (xml/yaml/php, your choice). I'm not sure how to achieve that without coupling BjyAuthorize to Doctrine though. |
@gamempire that part is just a raw SQL query, while it should eventually use DQL or an ObjectRepository (better) |
I don't know what i saying but, in ZfcUser, after enabling ZfcUserDoctrineORM and running orm:schema-tool:update --force |
@gamempire that's exactly because the mappings are missing, but having BjyAuthorize register them would be assuming that BjyAuthorize depends on DoctrineModule... |
And if we just do the same for BjyAuthorize as in ZfcUser? i mean create BjyAuthorizeDoctrine |
usually i do
./vendor/bin/doctrine-module orm:schema-tool:update --force
for updating the db with the specified entities of my module, but after installing BjyAuthorize and running that command, nothing was edited in the database.
The text was updated successfully, but these errors were encountered: