Created
November 10, 2011 02:31
-
-
Save Javlopez/1353924 to your computer and use it in GitHub Desktop.
Database - Table users
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE IF NOT EXISTS `users` ( | |
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, | |
`email` varchar(127) NOT NULL, | |
`username` varchar(32) NOT NULL DEFAULT '', | |
`password` char(80) NOT NULL, | |
`token` char(80) NOT NULL DEFAULT '', | |
`logins` int(10) UNSIGNED NOT NULL DEFAULT '0', | |
`last_login` int(10) UNSIGNED, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment