diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2015-02-14 15:59:33 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-09-18 20:22:32 +0900 |
commit | dfeb3ee78a44b630ef414a7ce6e93265b2cc4f28 (patch) | |
tree | f48fc57752bc45c297ef9c195f6b3d09afb5f9ed /activerecord/test/cases/view_test.rb | |
parent | f3772f729c72d098156b35eb105d3ffdd928c5eb (diff) | |
download | rails-dfeb3ee78a44b630ef414a7ce6e93265b2cc4f28.tar.gz rails-dfeb3ee78a44b630ef414a7ce6e93265b2cc4f28.tar.bz2 rails-dfeb3ee78a44b630ef414a7ce6e93265b2cc4f28.zip |
Add `unsigned` types for numeric data types in MySQL
In the case of using `unsigned` as the type:
create_table :foos do |t|
t.unsigned_integer :unsigned_integer
t.unsigned_bigint :unsigned_bigint
t.unsigned_float :unsigned_float
t.unsigned_decimal :unsigned_decimal, precision: 10, scale: 2
end
Diffstat (limited to 'activerecord/test/cases/view_test.rb')
0 files changed, 0 insertions, 0 deletions