about summary refs log tree commit diff stats
path: root/db/migrate
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-07-02 21:39:57 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-07-02 21:39:57 -0400
commit79d9cd3c5e3764db9d3506e1702042a7a7a4aea3 (patch)
tree3a83e1e9f4b307199b95de86a28f58eb0f40ae04 /db/migrate
parent9cf94eec5ae98f750f9babc0c37373df87e3981c (diff)
downloadthoughts-79d9cd3c5e3764db9d3506e1702042a7a7a4aea3.tar.gz
thoughts-79d9cd3c5e3764db9d3506e1702042a7a7a4aea3.tar.bz2
thoughts-79d9cd3c5e3764db9d3506e1702042a7a7a4aea3.zip
Set up Capistrano
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