about summary refs log tree commit diff stats
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20170703013609_convert_to_real_unicode.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20170703013609_convert_to_real_unicode.rb b/db/migrate/20170703013609_convert_to_real_unicode.rb new file mode 100644 index 0000000..9291c0c --- /dev/null +++ b/db/migrate/20170703013609_convert_to_real_unicode.rb
@@ -0,0 +1,8 @@
1class ConvertToRealUnicode < ActiveRecord::Migration[5.1]
2 def change
3 change_column :records, :recordable_type, :string, limit: 191
4 change_column :users, :login, :string, default: "", null: false, limit: 191
5 change_column :users, :email, :string, default: "", null: false, limit: 191
6 change_column :users, :reset_password_token, :string, limit: 191
7 end
8end