Reputation: 11084
How would I specify bigint
in a create_table
for PostgreSQL and SQLite in a rails schema file?
I've looked at the data types to see that there is a carry over between the two and checked their capacities here and here.
I then saw this question and I was wondering if there really wasn't any way to create the bigint
inside the create_table
schema.
Also, I am not necessarily looking for bigint
, but rather an 64-bit datatype; signing doesn't matter (I will only be accessing the bits).
Upvotes: 0
Views: 917