summaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-11 15:30:52 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-11 15:30:52 +0100
commit18403d9720c7b3d26881bb6291bf6eb2a9df05d9 (patch)
tree69ad948821cde78d1edfd7f654940370bd63f529 /p
parentcd8e245523b54b19004ff3202f0fe412e70f130b (diff)
SQL : Supprime c.color
Implémente décision https://github.com/marienfressinaud/FreshRSS/issues/295 Install.php pourrait peut-être être mis à jour pour supprimer automatiquement la colonne, mais ce n'est pas fait dans ce patch.
Diffstat (limited to 'p')
-rw-r--r--p/i/install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/p/i/install.php b/p/i/install.php
index 8002a45da..bb49e3fdb 100644
--- a/p/i/install.php
+++ b/p/i/install.php
@@ -44,8 +44,8 @@ UPDATE `%1$sfeed006` f
INNER JOIN `%1$scategory006` c ON f.category = c.id
SET f.category2 = c.id2;
-INSERT IGNORE INTO `%2$scategory` (name, color)
-SELECT name, color
+INSERT IGNORE INTO `%2$scategory` (name)
+SELECT name
FROM `%1$scategory006`
ORDER BY id2;