database table has no description

espie - September 26, 2009 - 13:12
Project:Masquerade
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:minor
Assigned:Unassigned
Status:needs work
Description

I've been playing with the schema module, which uses the new database schema features of drupal6, and I'm reporting on the modules I use which don't contain any database description... I don't know whether to include this as code or documentation, since it's a bit of both.

The appended patch is my interpretation of the database schema.

AttachmentSize
m.patch1.41 KB

#1

deviantintegral - September 29, 2009 - 03:02
Version:6.x-1.3» 6.x-1.x-dev
Category:bug report» feature request
Status:needs review» needs work

Good idea!

Here's an updated patch which:

  • Removes t() from the descriptions as DB descriptions aren't supposed to be translated.
  • Fixes some indentation issues.
  • Rewords the descriptions to be similar to core.

This patch still needs an update hook to add these descriptions to existing installations.

AttachmentSize
588694_schema_description.patch 2.12 KB
 
 

Drupal is a registered trademark of Dries Buytaert.