Difference between revisions of "Database Table: faq"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=faq|table type=global}}
+
{{Database Table|name=faq|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE faq (
 
CREATE TABLE faq (
  faqid mediumint(8) unsigned NOT NULL auto_increment,
+
    faqid mediumint(8) unsigned NOT NULL auto_increment,
  question text,
+
    question text,
  answer text,
+
    answer text,
  sortorder int(11) default NULL,
+
    sortorder int(11) default NULL,
  faqcat varchar(20) default NULL,
+
    faqcat varchar(20) default NULL,
  lastmodtime datetime default NULL,
+
    lastmodtime datetime default NULL,
  lastmoduserid int(10) unsigned NOT NULL default '0',
+
    lastmoduserid int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (faqid)
+
 
 +
    PRIMARY KEY  (faqid)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:06, 28 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table.

Definition

CREATE TABLE faq (
    faqid mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT,
    question text,
    answer text,
    sortorder INT(11) DEFAULT NULL,
    faqcat VARCHAR(20) DEFAULT NULL,
    lastmodtime datetime DEFAULT NULL,
    lastmoduserid INT(10) UNSIGNED NOT NULL DEFAULT '0',
 
    PRIMARY KEY  (faqid)
)

Relationships