Difference between revisions of "Database Table: faquses"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'faquses =Definition= <source lang="sql"> CREATE TABLE faquses ( faqid MEDIUMINT UNSIGNED NOT NULL, userid INT UNSIGNED NOT NULL, dateview DATET...')
 
(Robot: Updating: Format)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category: Database Table|faquses]]
+
{{Database Table|name=faquses|table type=global|need desc=1|repo=dw-free}}
=Definition=
+
= Definition =
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE faquses (
 
CREATE TABLE faquses (
  faqid MEDIUMINT UNSIGNED NOT NULL,
+
    faqid MEDIUMINT UNSIGNED NOT NULL,
  userid INT UNSIGNED NOT NULL,
+
    userid INT UNSIGNED NOT NULL,
  dateview DATETIME NOT NULL,
+
    dateview DATETIME NOT NULL,
  PRIMARY KEY (userid, faqid),
+
 
  KEY (faqid),
+
    PRIMARY KEY (userid, faqid),
  KEY (dateview)
+
    KEY (faqid),
 +
    KEY (dateview)
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer}}
=Relationships=
+
 
+
=Location=
+
[[Global database]]
+

Latest revision as of 16:02, 22 July 2010

This is a global table.

Definition

CREATE TABLE faquses (
    faqid MEDIUMINT UNSIGNED NOT NULL,
    userid INT UNSIGNED NOT NULL,
    dateview DATETIME NOT NULL,
 
    PRIMARY KEY (userid, faqid),
    KEY (faqid),
    KEY (dateview)
)

Relationships