From b94f2cdcfd16f852fe06692adf81806c9f135bb3 Mon Sep 17 00:00:00 2001 From: Jyri-Petteri Paloposki Date: Wed, 6 Nov 2019 01:32:46 +0200 Subject: [PATCH] #2295: Fix for the migration bug in MySQL --- db/migrate/20190618202817_add_user_id_to_tag.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20190618202817_add_user_id_to_tag.rb b/db/migrate/20190618202817_add_user_id_to_tag.rb index 8268aeb50..8a6e0ca9c 100644 --- a/db/migrate/20190618202817_add_user_id_to_tag.rb +++ b/db/migrate/20190618202817_add_user_id_to_tag.rb @@ -4,7 +4,7 @@ def self.up # Find uses of each tag for both Todos and RecurringTodos to # figure out which users use which tags. - @tags = execute <<-EOQ + @tags = exec_query <<-EOQ SELECT t.id AS tid, tds.user_id AS todo_uid, rt.user_id AS rtodo_uid FROM tags t JOIN taggings tgs ON tgs.tag_id = t.id