Skip to content

Instantly share code, notes, and snippets.

@joshsmith
Created October 6, 2010 05:03
Show Gist options
  • Save joshsmith/612859 to your computer and use it in GitHub Desktop.
Save joshsmith/612859 to your computer and use it in GitHub Desktop.
CREATE TABLE users_timezones (
uid INT(11) NOT NULL,
tid INT(11) NOT NULL,
FOREIGN KEY (uid) REFERENCES users(uid),
FOREIGN KEY (tid) REFERENCES timezones(tid)
) ENGINE=InnoDB;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment