I have updated and reorganized the Schema API documentation, including much that I learned/clarified while making update.php work for D6. Comments, questions, and suggestions are welcome. http://drupal.org/node/146843 Thanks, Barry
On 7/14/07, Barry Jaspan <barry@jaspan.org> wrote:
I have updated and reorganized the Schema API documentation, including much that I learned/clarified while making update.php work for D6. Comments, questions, and suggestions are welcome.
I don't see any provision for table or field comments. Am I just blind or this is an oversight? Chris
beerfan <beerfan@gmail.com> writes:
I have updated and reorganized the Schema API documentation,
I don't see any provision for table or field comments. Am I just blind or this is an oversight?
It's an oversight. In fact, you can put any additional keys into the schema structure you want, but of course we should specify the keys and format to use so everyone does the same thing. I'll add this. Thanks, Barry
schema.module now supports displaying documentation included in the schema data structure as specified in http://drupal.org/node/146939. We should add this information for all core tables. There are 64 such tables so if a handful of developers document the tables they are most familiar with it will all get done very quickly. So, please choose a core module or two and document its tables. To avoid having many people trying to edit the same patch file, add your docs to the issue: http://drupal.org/node/160599. I will combine all responses into a single patch. The patch will change the .schema files but only by adding documentation so I assume this will be acceptable even in code freeze. Thanks, Barry
participants (2)
-
Barry Jaspan -
beerfan