Skip to content
Extraits de code Groupes Projets
Valider 98633658 rédigé par Raphael Sofaer's avatar Raphael Sofaer
Parcourir les fichiers

delete from in migration

parent 70e4a671
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -6,7 +6,7 @@ class DowncaseTags < ActiveRecord::Migration
execute("UPDATE taggings
SET taggings.tag_id = #{keep_tag.first}
WHERE taggings.tag_id = #{bad_tag.first};")
execute("DELETE tags WHERE tags.id = #{bad_tag.first};")
execute("DELETE FROM tags WHERE tags.id = #{bad_tag.first};")
end
end
def self.up
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter