Subversion Repositories Applications.gtt

Rev

Rev 104 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
96 jpm 1
-- phpMyAdmin SQL Dump
2
-- version 2.11.4
3
-- http://www.phpmyadmin.net
4
--
5
-- Serveur: localhost
104 jpm 6
-- Généré le : Mar 17 Juin 2008 à 18:14
96 jpm 7
-- Version du serveur: 5.0.51
8
-- Version de PHP: 5.2.5
9
 
10
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
11
 
12
--
104 jpm 13
-- Base de données: `gtt_v4`
96 jpm 14
--
15
 
16
-- --------------------------------------------------------
17
 
18
--
99 jpm 19
-- Structure de la table `gestion_absence`
20
--
21
 
22
CREATE TABLE IF NOT EXISTS `gestion_absence` (
23
  `ga_id_utilisateur` int(11) unsigned NOT NULL,
24
  `ga_id_absence_motif` tinyint(3) unsigned NOT NULL,
25
  `ga_id_date_absence` date NOT NULL default '0000-00-00',
26
  `ga_duree` float NOT NULL default '0',
27
  PRIMARY KEY  (`ga_id_utilisateur`,`ga_id_absence_motif`,`ga_id_date_absence`)
28
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
29
 
30
--
31
-- Contenu de la table `gestion_absence`
32
--
33
 
34
 
35
-- --------------------------------------------------------
36
 
37
--
38
-- Structure de la table `gestion_absence_motif`
39
--
40
 
41
CREATE TABLE IF NOT EXISTS `gestion_absence_motif` (
42
  `gam_id_absence_motif` tinyint(3) unsigned NOT NULL auto_increment,
43
  `gam_libelle` varchar(255) collate utf8_unicode_ci NOT NULL,
44
  `gam_mark_cp_diminuer` tinyint(1) NOT NULL,
45
  `gam_mark_hs_diminuer` tinyint(1) NOT NULL,
46
  PRIMARY KEY  (`gam_id_absence_motif`)
47
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;
48
 
49
--
50
-- Contenu de la table `gestion_absence_motif`
51
--
52
 
53
INSERT INTO `gestion_absence_motif` (`gam_id_absence_motif`, `gam_libelle`, `gam_mark_cp_diminuer`, `gam_mark_hs_diminuer`) VALUES
104 jpm 54
(1, 'Congés payés', 1, 0),
55
(2, 'Récupération', 0, 1),
99 jpm 56
(3, 'Maladie', 0, 0);
57
 
58
-- --------------------------------------------------------
59
 
60
--
96 jpm 61
-- Structure de la table `gestion_projet`
62
--
63
 
64
CREATE TABLE IF NOT EXISTS `gestion_projet` (
65
  `gp_id_projet` int(11) unsigned NOT NULL auto_increment,
66
  `gp_ce_projet_parent` int(11) NOT NULL default '0',
67
  `gp_ce_categorie` int(11) unsigned NOT NULL default '0',
68
  `gp_nom` varchar(255) collate utf8_unicode_ci NOT NULL,
69
  `gp_description` text collate utf8_unicode_ci,
70
  `gp_date_debut` date default '0000-00-00',
71
  `gp_date_fin` date NOT NULL default '0000-00-00',
72
  `gp_duree_prevue` float default '0',
73
  `gp_avancement` int(11) default '0',
74
  PRIMARY KEY  (`gp_id_projet`)
75
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
76
 
77
--
78
-- Contenu de la table `gestion_projet`
79
--
80
 
99 jpm 81
 
82
-- --------------------------------------------------------
83
 
84
--
85
-- Structure de la table `gestion_projet_categorie`
86
--
87
 
88
CREATE TABLE IF NOT EXISTS `gestion_projet_categorie` (
89
  `gpc_id_categorie` int(11) unsigned NOT NULL auto_increment,
90
  `gpc_libelle` varchar(255) collate utf8_unicode_ci NOT NULL,
91
  `gpc_abreviation` varchar(25) collate utf8_unicode_ci default NULL,
92
  PRIMARY KEY  (`gpc_id_categorie`)
93
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
94
 
95
--
96
-- Contenu de la table `gestion_projet_categorie`
97
--
98
 
99
 
100
-- --------------------------------------------------------
101
 
102
--
103
-- Structure de la table `gestion_travail_projet`
104
--
105
 
106
CREATE TABLE IF NOT EXISTS `gestion_travail_projet` (
107
  `gtp_id_utilisateur` int(11) unsigned NOT NULL,
108
  `gtp_id_projet` int(11) unsigned NOT NULL,
109
  `gtp_id_date_travail` date NOT NULL default '0000-00-00',
110
  `gtp_duree` float NOT NULL default '0',
111
  PRIMARY KEY  (`gtp_id_utilisateur`,`gtp_id_projet`,`gtp_id_date_travail`)
112
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
113
 
114
--
115
-- Contenu de la table `gestion_travail_projet`
116
--
117
 
118
 
119
-- --------------------------------------------------------
120
 
121
--
122
-- Structure de la table `gestion_utilisateur`
123
--
124
 
125
CREATE TABLE IF NOT EXISTS `gestion_utilisateur` (
126
  `gu_id_utilisateur` int(11) unsigned NOT NULL auto_increment,
127
  `gu_ce_statut` tinyint(3) unsigned NOT NULL,
128
  `gu_nom` varchar(100) collate utf8_unicode_ci NOT NULL,
129
  `gu_prenom` varchar(100) collate utf8_unicode_ci NOT NULL,
130
  `gu_password` varchar(32) collate utf8_unicode_ci NOT NULL,
131
  `gu_email` varchar(255) collate utf8_unicode_ci NOT NULL,
132
  `gu_telephone` varchar(25) collate utf8_unicode_ci default NULL,
133
  `gu_adresse` varchar(255) collate utf8_unicode_ci default NULL,
134
  `gu_code_postal` varchar(6) collate utf8_unicode_ci default NULL,
135
  `gu_ville` varchar(50) collate utf8_unicode_ci default NULL,
136
  `gu_quota_heures_supp` float default NULL,
137
  `gu_conges_payes` float default NULL,
138
  `gu_temps_de_travail_jour` float default NULL,
139
  `gu_temps_de_travail_mois` float default NULL,
140
  `gu_mark_admin` tinyint(1) default NULL,
141
  `gu_mark_recapitulatif` tinyint(1) default NULL,
142
  `gu_notes` text collate utf8_unicode_ci,
143
  PRIMARY KEY  (`gu_id_utilisateur`)
144
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
145
 
146
--
147
-- Contenu de la table `gestion_utilisateur`
148
--
149
 
150
INSERT INTO `gestion_utilisateur` (`gu_id_utilisateur`, `gu_ce_statut`, `gu_nom`, `gu_prenom`, `gu_password`, `gu_email`, `gu_telephone`, `gu_adresse`, `gu_code_postal`, `gu_ville`, `gu_quota_heures_supp`, `gu_conges_payes`, `gu_temps_de_travail_jour`, `gu_temps_de_travail_mois`, `gu_mark_admin`, `gu_mark_recapitulatif`, `gu_notes`) VALUES
104 jpm 151
(1, 0, 'DÉMONSTRATION', 'Démo', 'c94a22169d9050aa369648f7bdbe144a', 'demo', '', '', '', '', 0, 0, 7, 0, 1, 0, NULL);
99 jpm 152
 
153
-- --------------------------------------------------------
154
 
155
--
156
-- Structure de la table `gestion_utilisateur_a_projet`
157
--
158
 
159
CREATE TABLE IF NOT EXISTS `gestion_utilisateur_a_projet` (
160
  `guap_id_utilisateur` int(11) unsigned NOT NULL,
161
  `guap_id_projet` int(11) unsigned NOT NULL,
162
  PRIMARY KEY  (`guap_id_utilisateur`,`guap_id_projet`)
163
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
164
 
165
--
166
-- Contenu de la table `gestion_utilisateur_a_projet`
167
--
168
 
169
 
170
-- --------------------------------------------------------
171
 
172
--
173
-- Structure de la table `gestion_utilisateur_statut`
174
--
175
 
176
CREATE TABLE IF NOT EXISTS `gestion_utilisateur_statut` (
177
  `gus_id_utilisateur_statut` tinyint(3) unsigned NOT NULL auto_increment,
178
  `gus_libelle` varchar(255) collate utf8_unicode_ci NOT NULL,
179
  `gus_mark_recapitulatif` tinyint(1) NOT NULL default '1',
180
  PRIMARY KEY  (`gus_id_utilisateur_statut`)
181
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
182
 
183
--
184
-- Contenu de la table `gestion_utilisateur_statut`
185
--
186
 
187
INSERT INTO `gestion_utilisateur_statut` (`gus_id_utilisateur_statut`, `gus_libelle`, `gus_mark_recapitulatif`) VALUES
104 jpm 188
(1, 'Salarié', 1),
189
(2, 'Président', 0),
99 jpm 190
(3, 'Stagiaire', 0);