Voilà la tête de mes tables :
-- --------------------------------------------------------
--
-- Structure de la table `gaybesac_albums`
--
CREATE TABLE `gaybesac_albums` (
`id` int(10) unsigned NOT NULL auto_increment,
`id_membre` int(10) unsigned NOT NULL default '0',
`type` tinyint(1) unsigned NOT NULL default '0',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
KEY `id_membre` (`id_membre`)
) TYPE=MyISAM AUTO_INCREMENT=1651 ;
-- --------------------------------------------------------
--
-- Structure de la table `gaybesac_basic`
--
CREATE TABLE `gaybesac_basic` (
`id` int(10) unsigned NOT NULL auto_increment,
`pseudo` varchar(30) NOT NULL default '',
`pass` varchar(10) NOT NULL default '',
`acces` tinyint(1) unsigned NOT NULL default '1',
`email` varchar(50) NOT NULL default '',
`nom` varchar(30) NOT NULL default '',
`prenom` varchar(30) NOT NULL default '',
`age` tinyint(2) unsigned NOT NULL default '0',
`sexe` tinyint(1) unsigned NOT NULL default '1',
`adresse` varchar(150) NOT NULL default '',
`ville` varchar(150) NOT NULL default '',
`situation_pro` varchar(150) NOT NULL default '',
`titre` varchar(150) NOT NULL default '',
`annonce_profil` text NOT NULL,
`orient_sexe` tinyint(1) unsigned NOT NULL default '0',
`attitude_sexe` tinyint(1) unsigned NOT NULL default '0',
`pays_renc` tinyint(1) unsigned NOT NULL default '0',
`dept1` tinyint(2) unsigned NOT NULL default '0',
`dept2` tinyint(2) unsigned NOT NULL default '0',
`dept3` tinyint(2) unsigned NOT NULL default '0',
`dept4` tinyint(2) unsigned NOT NULL default '0',
`origines` tinyint(1) unsigned NOT NULL default '0',
`situation` tinyint(1) unsigned NOT NULL default '0',
`yeux` tinyint(1) unsigned NOT NULL default '0',
`cheveux` tinyint(2) unsigned NOT NULL default '0',
`cheveux_nx` tinyint(1) unsigned NOT NULL default '0',
`taille` tinyint(3) unsigned NOT NULL default '0',
`poids` tinyint(1) unsigned NOT NULL default '0',
`pilosite` tinyint(1) unsigned NOT NULL default '0',
`apparence` tinyint(1) unsigned NOT NULL default '0',
`style` tinyint(1) unsigned NOT NULL default '0',
`tabac` tinyint(1) unsigned NOT NULL default '0',
`opinion_tabac` tinyint(1) unsigned NOT NULL default '0',
`lieu_rencontre` tinyint(1) unsigned NOT NULL default '0',
`webcam` tinyint(1) unsigned NOT NULL default '0',
`check_email` tinyint(1) unsigned NOT NULL default '0',
`offres` tinyint(1) unsigned NOT NULL default '0',
`connu` tinyint(1) unsigned NOT NULL default '0',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`last_visite` datetime NOT NULL default '0000-00-00 00:00:00',
`date_expiration` date default NULL,
`vus` int(10) unsigned NOT NULL default '0',
`actif` tinyint(1) unsigned NOT NULL default '0',
`clef` varchar(12) NOT NULL default '',
PRIMARY KEY (`id`),
UNIQUE KEY `id_3` (`id`),
UNIQUE KEY `id_2` (`id`),
KEY `id` (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1091 ;
-- --------------------------------------------------------
--
-- Structure de la table `gaybesac_photos_membres`
--
CREATE TABLE `gaybesac_photos_membres` (
`id` int(10) unsigned NOT NULL auto_increment,
`id_album` int(10) unsigned NOT NULL default '0',
`actif` tinyint(1) unsigned NOT NULL default '0',
`photo` varchar(30) NOT NULL default '',
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
KEY `id_album` (`id_album`)
) TYPE=MyISAM AUTO_INCREMENT=2836 ;