i added a column to the model and then deleted it. after that a :first
call gave me a total arbitrary record. it changed from #9 to #75. all
the data still remains in the table
but a second migration to add the col with a loop to enter data gave
me an out of range integer error.
anyway to fix this? has anyone experienced this?
i can still out put the table with a sort, but i am concerned of the
integrity of the table.
Most database engines don't guarantee the order of a result set unless
an ORDER BY clause is used. As I modify rows in PostgreSQL, the same
query returns the rows in different order unless I specify and ORDER BY.