Skip to content

Commit

Permalink
#2295: Fix for the migration bug in MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeiP committed Nov 5, 2019
1 parent 6ab14e6 commit b94f2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20190618202817_add_user_id_to_tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b94f2cd

Please sign in to comment.