Created
September 26, 2013 01:39
-
-
Save azcdev/6708706 to your computer and use it in GitHub Desktop.
Estructura de tabla de usuarios para login en flash
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` ( | |
`agent_code` int(5) NOT NULL DEFAULT '0', | |
`username` varchar(13) DEFAULT NULL, | |
`password` varchar(32) NOT NULL DEFAULT '', | |
`hash` varchar(32) NOT NULL DEFAULT '', | |
PRIMARY KEY (`agent_code`), | |
UNIQUE KEY `hash` (`hash`), | |
UNIQUE KEY `username` (`username`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment