Skip to content

Instantly share code, notes, and snippets.

@slywalker
Created March 6, 2010 03:37
Show Gist options
  • Save slywalker/323478 to your computer and use it in GitHub Desktop.
Save slywalker/323478 to your computer and use it in GitHub Desktop.
--
-- テーブルの構造 `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
`password` char(40) COLLATE utf8_unicode_ci NOT NULL,
`created` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `username` (`username`)
) ENGINE=InnoDB 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