how to specify a BIGINT in a rails scaffold?
Posted
by webdestroya
on Stack Overflow
See other posts from Stack Overflow
or by webdestroya
Published on 2010-05-18T20:16:36Z
Indexed on
2010/05/19
11:20 UTC
Read the original article
Hit count: 290
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?
© Stack Overflow or respective owner