Difference between revisions of "Database Table: faq"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'faq =Definition= <source lang="sql"> CREATE TABLE faq ( faqid mediumint(8) unsigned NOT NULL auto_increment, question text, answer text, sort...')
 
(Robot: Updating: Format)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: Database Table|faq]]
+
{{Database Table|name=faq|table type=global|need desc=1|repo=dw-free}}
=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}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

Latest revision as of 15:59, 22 July 2010

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