symdrq
Last Updated: February 25, 2016
·
186
· notgrm
Ace1273ad23fa8c65664d3e5d64bab4a

Active Record migration types

Rails guides doesn't have a dedicated section resuming all types you can use inside your migration. Here the list of all non-database specific types, avoiding you to look inside api documentation

  • :binary
  • :boolean
  • :date
  • :datetime
  • :decimal
  • :float
  • :integer
  • :primary_key
  • :references
  • :string
  • :text
  • :time
  • :timestamp
Say Thanks
Respond