Skip to content

Instantly share code, notes, and snippets.

@slywalker
Created March 6, 2010 02:39
Show Gist options
  • Save slywalker/323449 to your computer and use it in GitHub Desktop.
Save slywalker/323449 to your computer and use it in GitHub Desktop.
--
-- テーブルの構造 `posts`
--
CREATE TABLE `posts` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`body` text COLLATE utf8_unicode_ci NOT NULL,
`created` datetime DEFAULT NULL,
`modified` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) 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