how to specify a BIGINT in a ruby scaffold?
- by webdestroya
I am trying to create a model in ruby that uses a BIGINT datatype (as opposed to the INT done by :integer).
I have search all over Google, but all I seem to find is "run an SQL statement to alter the table to a BIGINT" - This seems a bit hack-ish to me, so I wanted to know if there was a way to specify a bigint in the ruby system like :big_int or something
Any ideas?