Commit 74574343552286b1333b1875f2a2bc7073f1b326
1 parent
46bfd219
Exists in
master
and in
3 other branches
Correction bug d'install de la bd : Table 'type_documents' already exists
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
database/labinvent_2.1_12-05-16.sql
... | ... | @@ -293,8 +293,8 @@ CREATE TABLE IF NOT EXISTS `type_suivis` ( |
293 | 293 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; |
294 | 294 | |
295 | 295 | |
296 | - | |
297 | -CREATE TABLE `type_documents` ( | |
296 | +DROP TABLE IF EXISTS `type_documents`; | |
297 | +CREATE TABLE IF NOT EXISTS `type_documents` ( | |
298 | 298 | `id` int(11) NOT NULL AUTO_INCREMENT, |
299 | 299 | `nom` varchar(100) DEFAULT NULL, |
300 | 300 | PRIMARY KEY (`id`) | ... | ... |