Top Level Namespace

Defined Under Namespace

Modules: Utf8mb4rails

Instance Method Summary collapse

Instance Method Details

#usageObject



4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/utf8mb4rails.rb', line 4

def usage
  puts
  puts 'Usage: '
  puts
  puts 'For migrating an entire table use:'
  puts '$ TABLE=table_name rake db:utf8mb4'
  puts
  puts 'For migrating an specified column table:'
  puts '$ TABLE=table_name COLUMN=column_name rake db:utf8mb4'
  puts
  puts 'You can also specify the COLLATION (utf8mb4_unicode_520_ci)'
end