Created
December 11, 2013 01:05
-
-
Save LunaCodeGirl/7903402 to your computer and use it in GitHub Desktop.
This shows all of the datatypes that the rails models can use.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here are all the Rails 4 (ActiveRecord migration) datatypes: | |
• :binary | |
• :boolean | |
• :date | |
• :datetime | |
• :decimal | |
• :float | |
• :integer | |
• :primary_key | |
• :references | |
• :string | |
• :text | |
• :time | |
• :timestamp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment