Skip to content

Commit

Permalink
adjusting migration to allow rollback to correct datatype, hoping thi…
Browse files Browse the repository at this point in the history
…s might help fix failure to migrate [Fixes #157476961]
  • Loading branch information
tansaku committed May 17, 2018
1 parent d34be4a commit 8d9b1bf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4,6 +4,6 @@ def up
end

def down
change_column :click_throughs, :user_id
change_column :click_throughs, :user_id, 'varchar(50) USING CAST(user_id as varchar(50))'
end
end

0 comments on commit 8d9b1bf

Please sign in to comment.