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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
| --
-- Structure de la table `test_documents`
--
DROP TABLE IF EXISTS `test_documents`;
CREATE TABLE IF NOT EXISTS `test_documents` (
`id` int(10) NOT NULL auto_increment,
`contenu` mediumtext,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
--
-- Contenu de la table `test_documents`
--
INSERT INTO `test_documents` (`id`, `contenu`) VALUES
(1, 'Voyage au pays du tsar'),
(2, 'Solitudes du Gobi'),
(3, 'Derrière la grande muraille');
-- --------------------------------------------------------
--
-- Structure de la table `test_images`
--
DROP TABLE IF EXISTS `test_images`;
CREATE TABLE IF NOT EXISTS `test_images` (
`id` int(10) unsigned NOT NULL auto_increment,
`nom` text NOT NULL,
`docid` int(10) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Contenu de la table `test_images`
--
INSERT INTO `test_images` (`id`, `nom`, `docid`) VALUES
(1, 'Poupées Russes', 1),
(2, 'vodka etrenelle', 1),
(3, 'Souzdal', 2),
(4, 'place rouge', 2),
(5, 'Cité interdite', 3),
(6, 'Armée de terre cuite', 3);
-- --------------------------------------------------------
--
-- Structure de la table `test_template_variables`
--
DROP TABLE IF EXISTS `test_template_variables`;
CREATE TABLE IF NOT EXISTS `test_template_variables` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(50) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Contenu de la table `test_template_variables`
--
INSERT INTO `test_template_variables` (`id`, `name`) VALUES
(1, 'motcle1'),
(2, 'motcle2');
-- --------------------------------------------------------
--
-- Structure de la table `test_variables`
--
DROP TABLE IF EXISTS `test_variables`;
CREATE TABLE IF NOT EXISTS `test_variables` (
`id` int(11) NOT NULL auto_increment,
`valeur` text,
`tmplvarid` int(10) NOT NULL default '0',
`docid` int(10) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Contenu de la table `test_variables`
--
INSERT INTO `test_variables` (`id`, `valeur`, `tmplvarid`, `docid` ) VALUES
(1, 'Russie', 1, 1),
(2, 'Transsibérien', 2, 1),
(3, 'Russie', 1, 2),
(4, 'Lénine', 2, 2),
(5, 'Chine', 1, 3),
(6, 'Révolution culturelle', 2, 3); |
Partager