summaryrefslogtreecommitdiff
path: root/app/sql.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-04 14:34:01 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-04 14:34:01 +0100
commite38b3a9c1bf6b5dd6b9a39fa8947c4475923caf3 (patch)
tree88994ac2e32c33d1b8f93d7ae2d983abd4356545 /app/sql.php
parentfd214c93e4a4ba7ad46a2c10f992961806ef8ed9 (diff)
Petits changements install
Diffstat (limited to 'app/sql.php')
-rw-r--r--app/sql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/sql.php b/app/sql.php
index 5a28858a7..1b43da30a 100644
--- a/app/sql.php
+++ b/app/sql.php
@@ -53,7 +53,7 @@ CREATE TABLE IF NOT EXISTS `%1$sentry` (
) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci
ENGINE = INNODB;
-INSERT INTO `%1$scategory` (name) VALUES(:catName);
+INSERT IGNORE INTO `%1$scategory` (id, name) VALUES(1, :catName);
');
define('SQL_DROP_TABLES', 'DROP TABLES %1$sentry, %1$sfeed, %1$scategory');