Snippets (migration) (1)

3 months ago View more (37 lines)
1
2
3
4
5
# Rails Migration to convert latin1 MySQL DB to UTF8
# As seen on http://snippets.dzone.com/posts/show/6070
#
class ConvertDbToUtf8 < ActiveRecord::Migration  
  def self.up