Database Table: birthdays

From Dreamwidth Notes
Revision as of 15:59, 22 July 2010 by Exor674Bot (Talk | contribs)

Jump to: navigation, search

This is a clustered 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