Skip to content

Commit b94f2cd

Browse files
committed
#2295: Fix for the migration bug in MySQL
1 parent 6ab14e6 commit b94f2cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/migrate/20190618202817_add_user_id_to_tag.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ def self.up
44

55
# Find uses of each tag for both Todos and RecurringTodos to
66
# figure out which users use which tags.
7-
@tags = execute <<-EOQ
7+
@tags = exec_query <<-EOQ
88
SELECT t.id AS tid, tds.user_id AS todo_uid, rt.user_id AS rtodo_uid
99
FROM tags t
1010
JOIN taggings tgs ON tgs.tag_id = t.id

0 commit comments

Comments
 (0)