Skip to content

Instantly share code, notes, and snippets.

@azcdev
Created September 26, 2013 01:39
Show Gist options
  • Save azcdev/6708706 to your computer and use it in GitHub Desktop.
Save azcdev/6708706 to your computer and use it in GitHub Desktop.
Estructura de tabla de usuarios para login en flash
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