Ferreteria/sql/user group

From Woozle Writes Code
< Ferreteria‎ | sql
Revision as of 14:54, 27 November 2013 by htyp>Woozle (Created page with "==About== * '''Purpose''': a list of access-control groups to which users can belong * '''Used by''': {{l/same|user_x_ugroup}} * '''History''': ** '''2013-11-27''' written ==S...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

  • Purpose: a list of access-control groups to which users can belong
  • Used by: user_x_ugroup
  • History:
    • 2013-11-27 written

SQL

<mysql>CREATE TABLE `ugroup` (

 `ID`       INT              NOT NULL AUTO_INCREMENT,
 `Name`     VARCHAR(31)      NOT NULL COMMENT "name of group",
 `Descr`    VARCHAR(255) DEFAULT NULL COMMENT "description/usage",
 `WhenCreated` DATETIME      NOT NULL COMMENT "when ugroup was created",
 PRIMARY KEY(`ID`)

) ENGINE = MYISAM;</mysql>