Difference between revisions of "Database Table: backupdirty"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#set:name=backupdirty|table type=global}}{{#set_internal:Key relationship
+
{{Database Table|name=backupdirty|table type=global|need desc=1|repo=dw-free}}
|From table=backupdirty
+
|To table=user
+
|From field=userid
+
|To field=userid
+
|Type=Foreign key
+
}}
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE backupdirty (
 
CREATE TABLE backupdirty (
 
     userid INT(10) unsigned NOT NULL default '0',
 
     userid INT(10) unsigned NOT NULL default '0',
 
     marktime INT(10) unsigned NOT NULL default '0',
 
     marktime INT(10) unsigned NOT NULL default '0',
 +
 
     PRIMARY KEY (userid)
 
     PRIMARY KEY (userid)
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Latest revision as of 11:41, 7 September 2010

This is a global table.

Definition

CREATE TABLE backupdirty (
    userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    marktime INT(10) UNSIGNED NOT NULL DEFAULT '0',
 
    PRIMARY KEY (userid)
)

Relationships

Outgoing

  • Foreign key: userid to user.userid