Created
March 10, 2011 19:09
-
-
Save kracekumar/864688 to your computer and use it in GitHub Desktop.
This file contains 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
users | CREATE TABLE `users` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`first_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`last_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`admin` tinyint(1) DEFAULT NULL, | |
`student` tinyint(1) DEFAULT NULL, | |
`employee` tinyint(1) DEFAULT NULL, | |
`hashed_password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`salt` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`reset_password_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`reset_password_code_until` datetime DEFAULT NULL, | |
`created_at` datetime DEFAULT NULL, | |
`updated_at` datetime DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment