Skip to content

Instantly share code, notes, and snippets.

@diogomatheus
Created April 1, 2012 01:04
Show Gist options
  • Save diogomatheus/2270229 to your computer and use it in GitHub Desktop.
Save diogomatheus/2270229 to your computer and use it in GitHub Desktop.
Script pdo database
CREATE TABLE IF NOT EXISTS `posts` (
`post_id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`content` text NOT NULL,
PRIMARY KEY (`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment