How do we define large integers? [duplicate]
in your migration, you could try this:
t.integer :uid, :limit => 8
which will produce a 64-bit integer column.
(Just integer
with no limit
specified will allow, according to the PostgreSQL docs, up to 10 digits.)