- --
- -- Structure de la table `news`
- --
-
- CREATE TABLE IF NOT EXISTS `news` (
- `id` tinyint(3) NOT NULL AUTO_INCREMENT,
- `titre` varchar(255) COLLATE utf8_bin NOT NULL,
- `contenu` text COLLATE utf8_bin NOT NULL,
- `timestamp` bigint(20) NOT NULL,
- `pseudo` text COLLATE utf8_bin NOT NULL,
- KEY `id` (`id`)
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin DELAY_KEY_WRITE=1 COMMENT='news pour site' AUTO_INCREMENT=1 ;
-
- --
- -- Structure de la table `commentaires`
- --
-
- CREATE TABLE IF NOT EXISTS `commentaires` (
- `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID commentaire',
- `pseudo` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'pseudo du post',
- `message` text COLLATE utf8_bin NOT NULL COMMENT 'message du post',
- `idnews` int(11) NOT NULL COMMENT 'news correspond',
- `timestamp` bigint(20) NOT NULL COMMENT 'heure du post',
- KEY `id` (`id`)
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='commentaires pour module de news' AUTO_INCREMENT=1 ;
-
--
-- Structure de la table `news`
--
CREATE TABLE IF NOT EXISTS `news` (
`id` tinyint(3) NOT NULL AUTO_INCREMENT,
`titre` varchar(255) COLLATE utf8_bin NOT NULL,
`contenu` text COLLATE utf8_bin NOT NULL,
`timestamp` bigint(20) NOT NULL,
`pseudo` text COLLATE utf8_bin NOT NULL,
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin DELAY_KEY_WRITE=1 COMMENT='news pour site' AUTO_INCREMENT=1 ;
--
-- Structure de la table `commentaires`
--
CREATE TABLE IF NOT EXISTS `commentaires` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID commentaire',
`pseudo` varchar(255) COLLATE utf8_bin NOT NULL COMMENT 'pseudo du post',
`message` text COLLATE utf8_bin NOT NULL COMMENT 'message du post',
`idnews` int(11) NOT NULL COMMENT 'news correspond',
`timestamp` bigint(20) NOT NULL COMMENT 'heure du post',
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='commentaires pour module de news' AUTO_INCREMENT=1 ;