[gollem] horde_vfs table schema

Chuck Hagenbuch chuck@horde.org
Fri, 19 Jul 2002 11:35:54 -0400


Quoting Michael Varghese <mike.varghese@ascellatech.com>:

> CREATE TABLE horde_vfs (
>     vfs_id         BIGINT NOT NULL,
>     vfs_folder     BOOL NOT NULL,

I would make this vfs_type instead, and define constants inside of 
VFS/sql.php for VFS_TYPE_FILE, VFS_TYPE_FOLDER, and leave open the 
possibility of adding more in the future (symlinks, etc.).

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"After a few minutes the most aromatic and nice smelling Italian coffee 
 will come out of the exhaustpipe." - Our stove-top espresso pot