Ferreteria/sql/user group: Difference between revisions
< Ferreteria | sql
Jump to navigation
Jump to search
m (Woozle moved page VbzCart/tables/ugroup to Ferreteria/sql/user group without leaving a redirect: this has been a ferreteria table for awhile now too) |
m (5 revisions imported: moving this project here) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
==About== | ==About== | ||
* '''Purpose''': a list of access-control groups to which users can belong | * '''Purpose''': a list of access-control groups to which users can belong | ||
* '''Used by''': {{l/same| | * '''Used by''': {{l/same|uacct_x_ugroup}} | ||
* '''History''': | * '''History''': | ||
** '''2013-11-27''' written | ** '''2013-11-27''' written | ||
** '''2017-01-26''' moved to Ferreteria, renamed from ugroup to user_group, changed from MYISAM to InnoDB | |||
==SQL== | ==SQL== | ||
<mysql>CREATE TABLE ` | <source lang=mysql>CREATE TABLE `user_group` ( | ||
`ID` | `ID` INT NOT NULL AUTO_INCREMENT, | ||
`Name` | `Name` VARCHAR(31) NOT NULL COMMENT "name of group", | ||
`Descr` | `Descr` VARCHAR(255) DEFAULT NULL COMMENT "description/usage", | ||
`WhenCreated` DATETIME | `WhenCreated` DATETIME NOT NULL COMMENT "when group was created", | ||
`WhenEdited` DATETIME DEFAULT NULL COMMENT "when group was last modified", | |||
PRIMARY KEY(`ID`) | PRIMARY KEY(`ID`) | ||
) | ) | ||
ENGINE = | ENGINE = InnoDB;</source> |
Latest revision as of 16:42, 22 May 2022
About
- Purpose: a list of access-control groups to which users can belong
- Used by: uacct_x_ugroup
- History:
- 2013-11-27 written
- 2017-01-26 moved to Ferreteria, renamed from ugroup to user_group, changed from MYISAM to InnoDB
SQL
CREATE TABLE `user_group` (
`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 group was created",
`WhenEdited` DATETIME DEFAULT NULL COMMENT "when group was last modified",
PRIMARY KEY(`ID`)
)
ENGINE = InnoDB;