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
| -- Base de données: `alimentaires`
-- --------------------------------------------------------
-- Structure de la table `admincom`
CREATE TABLE IF NOT EXISTS `admincom` (
`idCom` int(4) NOT NULL AUTO_INCREMENT,
`designation` text COLLATE utf8_unicode_ci NOT NULL,
`quantite` decimal(10,1) NOT NULL,
`section` text COLLATE utf8_unicode_ci NOT NULL,
`idUser` int(2) NOT NULL,
PRIMARY KEY (`idCom`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=133 ;
-- --------------------------------------------------------
-- Structure de la table `categories`
CREATE TABLE IF NOT EXISTS `categories` (
`idCat` int(2) NOT NULL AUTO_INCREMENT,
`categorie` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`idCat`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=9 ;
-- --------------------------------------------------------
-- Structure de la table `conditionnement`
CREATE TABLE IF NOT EXISTS `conditionnement` (
`idCond` int(2) NOT NULL AUTO_INCREMENT,
`conditionnement` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`idCond`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=29 ;
-- --------------------------------------------------------
-- Structure de la table `fournisseurs`
CREATE TABLE IF NOT EXISTS `fournisseurs` (
`idFrs` int(2) NOT NULL AUTO_INCREMENT,
`raisonSociale` text COLLATE utf8_unicode_ci NOT NULL,
`adresse1` text COLLATE utf8_unicode_ci NOT NULL,
...
PRIMARY KEY (`idFrs`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=10 ;
-- --------------------------------------------------------
-- Structure de la table `produits`
CREATE TABLE IF NOT EXISTS `produits` (
`idPdts` int(4) NOT NULL AUTO_INCREMENT,
`designation` text COLLATE utf8_unicode_ci NOT NULL,
`conditionnement` text COLLATE utf8_unicode_ci NOT NULL,
`idFrs` int(2) NOT NULL,
`idCat` int(2) NOT NULL,
PRIMARY KEY (`idPdts`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=441 ;
-- --------------------------------------------------------
-- Structure de la table `sections`
CREATE TABLE IF NOT EXISTS `sections` (
`idSect` int(2) NOT NULL AUTO_INCREMENT,
`section` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`idSect`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;
-- --------------------------------------------------------
-- Structure de la table `users`
CREATE TABLE IF NOT EXISTS `users` (
`idUser` int(2) NOT NULL AUTO_INCREMENT,
`nom` text COLLATE utf8_unicode_ci NOT NULL,
`mdp` text COLLATE utf8_unicode_ci NOT NULL,
`labo` text COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`idUser`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=15 ; |
Partager