Ferreteria/sql/ugroup x upermit: Difference between revisions
< Ferreteria | sql
Jump to navigation
Jump to search
(Created page with "==About== * '''Purpose''': ugroup-to-uperm assignment map * '''Requires''': {{l/same|ugroup}}, {{l/same|uperm}} * '''History''': ** '''2013-11-27''' written ==SQL== <mysql>CRE...") |
m (3 revisions imported: moving this project here) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
==About== | ==About== | ||
* '''Purpose''': ugroup-to- | * '''Purpose''': ugroup-to-upermit assignment map | ||
* '''Requires''': {{l/same| | * '''Requires''': {{l/same|user_group}}, {{l/same|user_permit}} | ||
* '''History''': | * '''History''': | ||
** '''2013-11-27''' written | ** '''2013-11-27''' written | ||
** '''2017-01-26''' moved to Ferreteria, renamed from ugroup_x_uperm to ugroup_x_upermit | |||
*** changed from MyISAM to InnoDB | |||
*** renamed ID_UGrp to ID_Group | |||
*** renamed ID_UPrm to ID_Permit | |||
==SQL== | ==SQL== | ||
<mysql>CREATE TABLE `ugroup_x_uperm` ( | <mysql>CREATE TABLE `ugroup_x_uperm` ( | ||
` | `ID_Group` INT NOT NULL, | ||
` | `ID_Permit` INT NOT NULL, | ||
PRIMARY KEY(` | PRIMARY KEY(`ID_Group`,`ID_Permit`) | ||
) ENGINE= | ) ENGINE=InnoDB;</mysql> |
Latest revision as of 16:42, 22 May 2022
About
- Purpose: ugroup-to-upermit assignment map
- Requires: user_group, user_permit
- History:
- 2013-11-27 written
- 2017-01-26 moved to Ferreteria, renamed from ugroup_x_uperm to ugroup_x_upermit
- changed from MyISAM to InnoDB
- renamed ID_UGrp to ID_Group
- renamed ID_UPrm to ID_Permit
SQL
<mysql>CREATE TABLE `ugroup_x_uperm` (
`ID_Group` INT NOT NULL, `ID_Permit` INT NOT NULL, PRIMARY KEY(`ID_Group`,`ID_Permit`)
) ENGINE=InnoDB;</mysql>