Skip to content

Instantly share code, notes, and snippets.

@TiuTalk
Created July 2, 2011 20:17
Show Gist options
  • Save TiuTalk/1061607 to your computer and use it in GitHub Desktop.
Save TiuTalk/1061607 to your computer and use it in GitHub Desktop.
Tabela SQL para armazenar as inscrições
CREATE TABLE `inscricoes` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
`nome` VARCHAR(50) NOT NULL,
`email` VARCHAR(100) NOT NULL,
`telefone` CHAR(10) NOT NULL,
`endereco` VARCHAR(100) NOT NULL,
`created` DATETIME NOT NULL,
`updated` DATETIME NOT NULL,
UNIQUE (`email`)
) ENGINE = MYISAM;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment