:integer, :limit => 20
is what you are after I believe.
On 11/3/05, Duncan Mac-Vicar Prett
<dmacvicar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
>
> Hi guys.
>
> I have a mysql table whose ids should be migrated from int to bigint.
> I can''t find documentation how to specify bigint in migrations and
:bigint
> makes the migration crash because a nil object.
>
> Any ideas?
>
> Duncan
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails