diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2014-11-10 13:53:27 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-03-06 18:56:19 +0900 |
commit | 0aa83f3b88c71df4f29b8c52d6297e2e5886e258 (patch) | |
tree | e18f89c0e6c04bf6cd0585cc01e761db18622fe9 /activemodel/lib/active_model | |
parent | eac3349285718e2a145c1e85e1fdb7bf96fc5bd1 (diff) | |
download | rails-0aa83f3b88c71df4f29b8c52d6297e2e5886e258.tar.gz rails-0aa83f3b88c71df4f29b8c52d6297e2e5886e258.tar.bz2 rails-0aa83f3b88c71df4f29b8c52d6297e2e5886e258.zip |
Add `:charset` and `:collation` options support for MySQL string and text columns
Example:
create_table :foos do |t|
t.string :string_utf8_bin, charset: 'utf8', collation: 'utf8_bin'
t.text :text_ascii, charset: 'ascii'
end
Diffstat (limited to 'activemodel/lib/active_model')
0 files changed, 0 insertions, 0 deletions