我从试图插入下面的整数越来越PGError: ERROR: integer out of range
消息:100001389928198.的Heroku/Postgres的错误:整数超出范围
按照Postgres docs on numeric datatypes极限高得多(9223372036854775807)。我有一种感觉,Heroku将列视为普通整数而不是BIGINT。
我定义的迁移为BIGINT这样:在Heroku的迁移方面
t.column :uid, :bigint
这是不正确?
哇,这是一个巨大的数字!你用它做什么? – ardochhigh
它的一个Facebook的uid(用于oauth的东西) – neon
我明白了。所以我想现在我们将开始使用这些更大的int域。 – ardochhigh