Code, models or records, whatever you call them in your programming language. Then use a doc comment tool. Whatever one is used in your language and best supported.
Auto-generated UML. This requires you to be using foreign keys or maintaining the relationships in your codebase. My friend's PHP framework generates UML for MongoDB based on the code in his models
2 comments
[ 7.1 ms ] story [ 17.6 ms ] thread