This list was compiled from rails 4, but may also be valid in earlier versions of rails. Use Active Record migrations to alter your database in a structured and organized manner.
List of attributes for SQL types:
1 2 3 4 5 6 7 8 9 10 11 |
|
You may also use database specific types, however this is not database agnostic and is to be used with caution.
1 2 3 4 5 6 7 8 9 10 11 |
|
1 2 3 4 5 |
|
These are documented under column in the Active Record API.