-
-
Save miklos-szel/966b1d835e649e138493a69dffda6826 to your computer and use it in GitHub Desktop.
sample table
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 `users` ( | |
| `id` BIGINT(20) NOT NULL AUTO_INCREMENT, | |
| `username` CHAR(128), | |
| `passwordhash` VARCHAR(32), | |
| `description` TEXT, | |
| `joined` datetime, | |
| `last_visit` datetime, | |
| PRIMARY KEY (`id`), | |
| UNIQUE KEY `last_visit_username` (`last_visit`,`username`), | |
| KEY `last_visit` (`last_visit`), | |
| KEY `id_last_visit` (`id`,`last_visit`) | |
| ) ENGINE=MyISAM; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment