1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| CREATE TABLE IF NOT EXISTS `NRef_site` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`x` float(10,6) NOT NULL,
`y` float(10,6) NOT NULL,
`acroche_fr` tinytext NOT NULL,
`type_annonce` varchar(20) NOT NULL DEFAULT 'location',
`nom_fr` tinytext NOT NULL,
`actif` tinyint(4) NOT NULL DEFAULT '0',
`cat` int(6) unsigned NOT NULL DEFAULT '0',
`star` tinyint(4) unsigned NOT NULL DEFAULT '0',
`ville_sql` text NOT NULL,
`nbs_place_sql` int(11) NOT NULL DEFAULT '0',
`nbs_chambre` char(2) NOT NULL DEFAULT '',
`type` text NOT NULL,
`selec` tinyint(4) NOT NULL DEFAULT '1',
`selec2` tinyint(2) NOT NULL DEFAULT '0',
`cp` varchar(11) NOT NULL DEFAULT '0',
`wifi` smallint(6) NOT NULL DEFAULT '0',
`piscine` int(1) NOT NULL DEFAULT '0',
`chien` int(1) NOT NULL DEFAULT '0',
`affich_com` char(1) NOT NULL DEFAULT '1',
`handicape` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `cat` (`cat`),
KEY `star` (`star`),
KEY `type_annonce` (`type_annonce`,`actif`,`selec`,`selec2`),
KEY `x` (`x`,`y`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=19564 ; |
Partager