Ferreteria/sql/user permit: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
m (Woozle moved page VbzCart/tables/uperm to Ferreteria/sql/user permit without leaving a redirect: also part of Ferreteria for awhile now)
(post-move adjustments)
Line 1: Line 1:
==About==
==About==
* '''Purpose''': a list of access permissions to that groups (and therefore users) can have
* '''Purpose''': a list of access permissions to that groups (and therefore users) can have
* '''Used by''': {{l/same|ugroup_x_uperm}}
* '''Used by''': {{l/same|ugroup_x_upermit}}
* '''History''':
* '''History''':
** '''2013-11-27''' written
** '''2013-11-27''' written
** '''2017-01-29''' moved from [[VbzCart]] to Ferreteria a few days ago; renamed from uperm to user_permit
==SQL==
==SQL==
<mysql>CREATE TABLE `uperm` (
<mysql>CREATE TABLE `user_permit` (
   `ID`      INT              NOT NULL AUTO_INCREMENT,
   `ID`      INT              NOT NULL AUTO_INCREMENT,
   `Name`    VARCHAR(31)      NOT NULL COMMENT "name of permission",
   `Name`    VARCHAR(31)      NOT NULL COMMENT "name of permission",

Revision as of 14:25, 29 January 2017

About

  • Purpose: a list of access permissions to that groups (and therefore users) can have
  • Used by: ugroup_x_upermit
  • History:
    • 2013-11-27 written
    • 2017-01-29 moved from VbzCart to Ferreteria a few days ago; renamed from uperm to user_permit

SQL

<mysql>CREATE TABLE `user_permit` (

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

) ENGINE = MYISAM;</mysql>