Skip to content

Instantly share code, notes, and snippets.

View diogomatheus's full-sized avatar

Diogo Matheus diogomatheus

View GitHub Profile
@diogomatheus
diogomatheus / example-pdo
Created April 1, 2012 01:04
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 ;
@diogomatheus
diogomatheus / zf-paginator.sql
Created October 30, 2011 01:22
Script paginator database
--
-- Banco de Dados: `zf-paginator`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `user`
--
@diogomatheus
diogomatheus / order database
Created May 12, 2011 01:34
Script order database
--
-- Banco de Dados: `zf-order`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `order`
--