Wednesday, June 22, 2011

List of types to use in script/generate model

he attributes are SQL types, hence the following are supported:

* :primary_key
* :string
* :text
* :integer
* :float
* :decimal
* :datetime
* :timestamp
* :time
* :date
* :binary
* :boolean

Stolen from stackoverflow