diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-02 21:39:57 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-02 21:39:57 -0400 |
commit | 79d9cd3c5e3764db9d3506e1702042a7a7a4aea3 (patch) | |
tree | 3a83e1e9f4b307199b95de86a28f58eb0f40ae04 /db/migrate/20170703013609_convert_to_real_unicode.rb | |
parent | 9cf94eec5ae98f750f9babc0c37373df87e3981c (diff) | |
download | thoughts-79d9cd3c5e3764db9d3506e1702042a7a7a4aea3.tar.gz thoughts-79d9cd3c5e3764db9d3506e1702042a7a7a4aea3.tar.bz2 thoughts-79d9cd3c5e3764db9d3506e1702042a7a7a4aea3.zip |
Set up Capistrano
Diffstat (limited to 'db/migrate/20170703013609_convert_to_real_unicode.rb')
-rw-r--r-- | db/migrate/20170703013609_convert_to_real_unicode.rb | 8 |
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 @@ | |||
1 | class 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 | ||
8 | end | ||