Difference between revisions of "Database Table: cprodlist"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:name=cprodlist|table type=global}}
+
{{Database Table|name=cprodlist|table type=global|repo=dw-free}}
 
[[Description::This table supports the prodding feature not currently supported in Dreamwidth.]]
 
[[Description::This table supports the prodding feature not currently supported in Dreamwidth.]]
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE cprodlist (
 
CREATE TABLE cprodlist (
  cprodid  SMALLINT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
+
    cprodid  SMALLINT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
  class    VARCHAR(100),
+
    class    VARCHAR(100),
  UNIQUE (class)
+
 
 +
    UNIQUE (class)
 
)
 
)
 
</source>
 
</source>
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 15:58, 22 July 2010

This is a global table. This table supports the prodding feature not currently supported in Dreamwidth.

Definition

CREATE TABLE cprodlist (
    cprodid   SMALLINT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
    class     VARCHAR(100),
 
    UNIQUE (class)
)

Relationships

Incoming

  • Foreign key: cprodid from cprod.cprodid