diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2014-11-26 18:54:07 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-09-18 20:22:32 +0900 |
commit | f3772f729c72d098156b35eb105d3ffdd928c5eb (patch) | |
tree | e08d51c076c007b14a87bf68737e45e3c69df63a /activerecord/test/cases/associations | |
parent | dcecbb4234e5b0e4751b57ce49c7afbf0775f937 (diff) | |
download | rails-f3772f729c72d098156b35eb105d3ffdd928c5eb.tar.gz rails-f3772f729c72d098156b35eb105d3ffdd928c5eb.tar.bz2 rails-f3772f729c72d098156b35eb105d3ffdd928c5eb.zip |
Add `unsigned` support for numeric data types in MySQL
Example:
create_table :foos do |t|
t.integer :unsigned_integer, unsigned: true
t.bigint :unsigned_bigint, unsigned: true
t.float :unsigned_float, unsigned: true
t.decimal :unsigned_decimal, unsigned: true, precision: 10, scale: 2
end
Diffstat (limited to 'activerecord/test/cases/associations')
0 files changed, 0 insertions, 0 deletions