Skip to content

Instantly share code, notes, and snippets.

@rumidier
Created December 13, 2013 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rumidier/7940167 to your computer and use it in GitHub Desktop.
Save rumidier/7940167 to your computer and use it in GitHub Desktop.
DROP TABLE IF EXISTS `memo`;
CREATE TABLE `memo` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL DEFAULT '',
`title` varchar(70) NOT NULL,
`content` text NOT NULL,
`wdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment