* Fixing bug causing exception in PostgreSQL when trying to insert a null value in an auto increment column