Difference between revisions of "Database Table: cprodlist"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'This table supports the prodding feature not currently supported in Dreamwidth. cprodlist =Definition= <source lang="sql"> CREATE TABLE cprodlist ( ...')
 
(Robot: Updating: Format)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This table supports the prodding feature not currently supported in Dreamwidth.
+
{{Database Table|name=cprodlist|table type=global|repo=dw-free}}
 
+
[[Description::This table supports the prodding feature not currently supported in Dreamwidth.]]
[[Category: Database Table|cprodlist]]
+
= 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}}
=Relationships=
+
Foreign key cprodid to [[Database Table: cprod|cprod]].cprodid
+
 
+
=Location=
+
[[Global database]]
+

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