ERDiagram is a tool that allows you to define an entity-relationship model using a simple DSL, then generate the database creation script, OOP classes, and much more. This is an open-source project that is currently searching for some community feedback.
@vivekweb2013 thank you very much! Please let me know if you have any request or suggestion. I would like to improve this tool, so it can be useful for all who wants to use it :)
ERDiagram
GitNoter
ERDiagram