Postgres Long Datatype

Just provide a value in the range. Ecto/Postgrex should do the right thing then.