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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
--
-- Structure de la table `mot`
--
CREATE TABLE `mot` (
`m_id` int(10) unsigned NOT NULL auto_increment,
`m_mot` varchar(50) NOT NULL,
`m_bValide` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`m_id`),
KEY `m_bValide` (`m_bValide`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=30 ;
--
-- Contenu de la table `mot`
--
INSERT INTO `mot` (`m_id`, `m_mot`, `m_bValide`) VALUES
(29, 'mot4', 1),
(28, 'mot3', 0),
(27, 'mot2', 1),
(26, 'mot1', 1);
-- --------------------------------------------------------
--
-- Structure de la table `nuage`
--
CREATE TABLE `nuage` (
`n_id` int(10) unsigned NOT NULL auto_increment,
`n_p_id` int(10) unsigned NOT NULL,
`n_m_id` int(10) unsigned NOT NULL,
`n_poids` tinyint(4) NOT NULL,
`n_bValide` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`n_id`),
KEY `n_p_id` (`n_p_id`,`n_m_id`,`n_bValide`),
KEY `n_bValide` (`n_bValide`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
--
-- Contenu de la table `nuage`
--
INSERT INTO `nuage` (`n_id`, `n_p_id`, `n_m_id`, `n_poids`, `n_bValide`) VALUES
(1, 1, 26, 1, 1),
(2, 1, 27, 2, 1),
(3, 1, 28, 2, 1),
(4, 20, 26, 2, 1),
(5, 20, 27, 3, 1),
(6, 18, 26, 3, 1);
-- --------------------------------------------------------
--
-- Structure de la table `page`
--
CREATE TABLE `page` (
`p_id` int(10) unsigned NOT NULL auto_increment,
`p_libelle` varchar(100) NOT NULL,
`p_bValide` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`p_id`),
KEY `p_bValide` (`p_bValide`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=106 ;
--
-- Contenu de la table `page`
--
INSERT INTO `page` (`p_id`, `p_libelle`, `p_bValide`) VALUES
(1, 'page1', 1),
(20, 'page2', 1),
(18, 'page3', 0),
(105, 'page4', 1); |
Partager