Difference between revisions of "Database Table: birthdays"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
m (Robot: Updating page description status.)
Line 1: Line 1:
 
{{Database Table|name=birthdays|table type=global}}
 
{{Database Table|name=birthdays|table type=global}}
 
[[Description::This is a table on the clustered database that stores information about upcoming birthdays.]] Note that actual birthdates are stored in {{DBField|user|bdate}}.
 
[[Description::This is a table on the clustered database that stores information about upcoming birthdays.]] Note that actual birthdates are stored in {{DBField|user|bdate}}.
[[Category:Database Tables Needing Description]]
+
 
 
= Definition =
 
= Definition =
  

Revision as of 12:09, 27 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table. This is a table on the clustered database that stores information about upcoming birthdays. Note that actual birthdates are stored in user.bdate.

Definition

CREATE TABLE birthdays (
  userid INT UNSIGNED NOT NULL,
  nextbirthday INT UNSIGNED,
  PRIMARY KEY (userid),
  KEY (nextbirthday)
)

Relationships

Outgoing

  • Foreign key: userid to user.userid