pomm-project / pomm-bundle

Pomm2 bundle for Symfony
81 stars 31 forks source link

Default directory structure without 'Mydb\PublicSchema' #42

Closed shamotj closed 9 years ago

shamotj commented 9 years ago

Pomm generates model, structure and other files to directory structure Connectionalias\Schema. If I have only one connection to DB, which I believe is very common scenario, I think that there could be something like "default connction" which will ommit this in namespace and in path. In result there will be only src/AppBundle/Model/ instead of src/AppBundle/Model/Mydb/PublicSchema/.

sanpii commented 9 years ago

This is a good idea (I think we talked about it on IRC), but this issue is for pomm-project/Cli.

shamotj commented 9 years ago

@sanpii Yes you are right. I'm closing this one and new one in correct project is here https://github.com/pomm-project/Cli/issues/31.

sanpii commented 9 years ago

Thank you :smiley: