epnadmin-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Epnadmin-fr] CVS: epnadmin structure.sql,1.8,1.9


From: Loïc Dayot
Subject: [Epnadmin-fr] CVS: epnadmin structure.sql,1.8,1.9
Date: Wed, 05 Mar 2003 13:15:42 -0500

Update of /cvsroot/epnadmin/epnadmin
In directory subversions:/tmp/cvs-serv24118/epnadmin

Modified Files:
        structure.sql 
Log Message:
Mauvaise version du fichier structure.sql corrigée.



Index: structure.sql
===================================================================
RCS file: /cvsroot/epnadmin/epnadmin/structure.sql,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** structure.sql       2 Mar 2003 13:47:10 -0000       1.8
--- structure.sql       5 Mar 2003 18:15:40 -0000       1.9
***************
*** 5,9 ****
  #
  # Serveur: localhost
! # Généré le : Samedi 15 Fevrier 2003 à 12:18
  # Version du serveur: 3.23.52
  # Version de PHP: 4.2.3
--- 5,9 ----
  #
  # Serveur: localhost
! # Généré le : Mercredi 05 Mars 2003 à 19:18
  # Version du serveur: 3.23.52
  # Version de PHP: 4.2.3
***************
*** 36,40 ****
    KEY motdepasse (motdepasse),
    KEY id_structure_provenance (id_structure_provenance)
! ) TYPE=MyISAM COMMENT='Renseignements sur les usagers';
  # --------------------------------------------------------
  
--- 36,40 ----
    KEY motdepasse (motdepasse),
    KEY id_structure_provenance (id_structure_provenance)
! ) TYPE=MyISAM COMMENT='Renseignements sur les animateurs';
  # --------------------------------------------------------
  
***************
*** 63,67 ****
  CREATE TABLE credits (
    id_usager int(10) unsigned NOT NULL default '0',
!   tarif tinyint(4) NOT NULL default '1',
    credit_acces_individuel time NOT NULL default '00:00:00',
    credit_activites_collectives time NOT NULL default '00:00:00',
--- 63,67 ----
  CREATE TABLE credits (
    id_usager int(10) unsigned NOT NULL default '0',
!   id_tarif int(11) NOT NULL default '1',
    credit_acces_individuel time NOT NULL default '00:00:00',
    credit_activites_collectives time NOT NULL default '00:00:00',
***************
*** 74,78 ****
    carte enum('attente','prête','imprimée') NOT NULL default 'attente',
    PRIMARY KEY  (id_usager),
!   KEY tarif (tarif),
    KEY carte (carte)
  ) TYPE=MyISAM COMMENT='Renseignements sur les usagers';
--- 74,78 ----
    carte enum('attente','prête','imprimée') NOT NULL default 'attente',
    PRIMARY KEY  (id_usager),
!   KEY tarif (id_tarif),
    KEY carte (carte)
  ) TYPE=MyISAM COMMENT='Renseignements sur les usagers';
***************
*** 210,217 ****
  CREATE TABLE logiciels (
    id int(10) unsigned NOT NULL auto_increment,
!   type varchar(30) NOT NULL default '',
    titre varchar(80) NOT NULL default '',
    licence varchar(40) NOT NULL default '',
-       id_structure int(10) unsigned NULL,
    info_achat text,
    commentaire text,
--- 210,217 ----
  CREATE TABLE logiciels (
    id int(10) unsigned NOT NULL auto_increment,
!   type varchar(30) default NULL,
    titre varchar(80) NOT NULL default '',
+   id_structure int(11) NOT NULL default '0',
    licence varchar(40) NOT NULL default '',
    info_achat text,
    commentaire text,
***************
*** 222,227 ****
    KEY type (type),
    KEY titre (titre),
!       KEY id_structure (id_structure)
! ) TYPE=MyISAM COMMENT='Liste des logiciels et pilotes du parc';
  # --------------------------------------------------------
  
--- 222,227 ----
    KEY type (type),
    KEY titre (titre),
!   KEY id_structure (id_structure)
! ) TYPE=MyISAM COMMENT='Cette table lie les ordinateurs aux logiciels qui y 
sont ins';
  # --------------------------------------------------------
  
***************
*** 232,236 ****
  CREATE TABLE materiels (
    id int(11) NOT NULL auto_increment,
!   type varchar(30) NOT NULL default '',
    materiel varchar(20) default NULL,
    specificite varchar(20) default NULL,
--- 232,236 ----
  CREATE TABLE materiels (
    id int(11) NOT NULL auto_increment,
!   type enum('Unité centrale','Moniteur','Serveur','Portable','Périphérique 
entrée','Périphérique sortie','Divers','Documentation') NOT NULL default 'Unité 
centrale',
    materiel varchar(20) default NULL,
    specificite varchar(20) default NULL,
***************
*** 324,343 ****
  
  #
- # Structure de la table `public_serveurs`
- #
- 
- CREATE TABLE public_serveurs (
-   serveur varchar(64) NOT NULL default '',
-   base varchar(32) NOT NULL default 'epnadmin',
-   identifiant varchar(32) NOT NULL default 'invité',
-   motdepasse varchar(32) NOT NULL default 'epnadmin',
-   structure varchar(128) NOT NULL default '',
-   commentaire text NOT NULL,
-   PRIMARY KEY  (serveur),
-   KEY structure (structure)
- ) TYPE=MyISAM COMMENT='Table des différents serveurs epnadmin';
- # --------------------------------------------------------
- 
- #
  # Structure de la table `questions`
  #
--- 324,327 ----
***************
*** 346,350 ****
    id int(11) NOT NULL auto_increment,
    id_initiation int(11) NOT NULL default '0',
!   question varchar(127) NOT NULL default '',
    url_aide varchar(100) NOT NULL default '',
    PRIMARY KEY  (id),
--- 330,334 ----
    id int(11) NOT NULL auto_increment,
    id_initiation int(11) NOT NULL default '0',
!   question text NOT NULL,
    url_aide varchar(100) NOT NULL default '',
    PRIMARY KEY  (id),





reply via email to

[Prev in Thread] Current Thread [Next in Thread]