pomm-project / ModelManager

Model Manager for the Pomm database framework.
MIT License
66 stars 27 forks source link

Model & entity generator to read what to generate from a file #80

Open chanmix51 opened 7 years ago

chanmix51 commented 7 years ago

Sometimes in big and complex schemas there are technical tables (eg n-m relationships by example) that do not need to make generated code. It would be useful to have a list a those relations in a file the generator would use to ignore them.

rdavaillaud commented 7 years ago

like a .pommignore file. :+1:

It could be usefull to use pattern in name, ignoring files by their prefix or suffix (eg: ref_table_*)

stood commented 6 years ago

I think a new file will be add complexity. And you will have to specify schema etc. I think it's very important for the developer he does not use 'pomm: generate: schema-all'