Difference between revisions of "Database Table: friendgroup2"
From Dreamwidth Notes
(Created page with 'friendgroup =Definition= <source lang="sql"> CREATE TABLE friendgroup ( userid int(10) unsigned NOT NULL default '0', groupnum tinyint(3) unsigne...') |
|||
Line 1: | Line 1: | ||
− | [[Category: Database Table| | + | [[Category: Database Table|friendgroup2]] |
=Definition= | =Definition= | ||
<source lang="sql"> | <source lang="sql"> | ||
− | CREATE TABLE | + | CREATE TABLE friendgroup2 ( |
− | + | userid INT(10) UNSIGNED NOT NULL DEFAULT '0', | |
− | + | groupnum TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', | |
− | + | groupname VARCHAR(90) NOT NULL DEFAULT '', | |
− | + | sortorder TINYINT(3) UNSIGNED NOT NULL DEFAULT '50', | |
− | + | is_public ENUM('0','1') NOT NULL DEFAULT '0', | |
− | + | PRIMARY KEY (userid, groupnum) | |
) | ) | ||
</source> | </source> | ||
Line 15: | Line 15: | ||
=Location= | =Location= | ||
− | [[ | + | [[Clustered database]] |
Revision as of 20:27, 21 March 2009
Definition
CREATE TABLE friendgroup2 ( userid INT(10) UNSIGNED NOT NULL DEFAULT '0', groupnum TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', groupname VARCHAR(90) NOT NULL DEFAULT '', sortorder TINYINT(3) UNSIGNED NOT NULL DEFAULT '50', is_public ENUM('0','1') NOT NULL DEFAULT '0', PRIMARY KEY (userid, groupnum) )