#74 Postgres saving integers

closed
nobody
Database (4)
5
2011-08-06
2010-12-20
Anonymous
No

While trying to import some sample questions I noticed that we are trying to send '' as a value for an integer field, and this is something Postgres does not tolerate (no SQL database should).

The fields in question are questionUserLastEdited and line. Naturally, these do not have any values when importing so one would either need to send NULL to the database or for example -1 if it does not mean anything else.

For Postgres users the next problem is just saving a new question. As one cannot save without a line-value and it seems to be blank...

Discussion

  • Chris Sangwin
    Chris Sangwin
    2011-08-06

    • status: open --> closed