[development] mode column in {users}?
Khalid Baheyeldin
kb at 2bits.com
Sun May 13 02:42:37 UTC 2007
If it is not used by anyone else, then we should rename it to
reflect what it does, so it is not ambiguous.
I wonder if this sets a precedence or something about columns
used only by contrib module(s) and possible clashes where one
module thinks it is for X and another thinks it is for Y and they
overwrite each other.
Can't you just create your own table for that module and make
uid the primary key for it? Yes, an extra join, but then that table
is solely yours, and everyone else should keep their grimy hands
off.
On 5/12/07, Peter Wolanin <pwolanin at gmail.com> wrote:
>
> Does anyone know if any core module uses the 'mode' column in the
> {users} table? A quick search with grep didn't turn up anything so I
> was thinking about using it as a flag for per-user behavior for a
> custom module for a little site.
>
> -Peter
>
--
2bits.com
http://2bits.com
Drupal development, customization and consulting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070512/b9fe0ab1/attachment.htm
More information about the development
mailing list