made all sqlite fields nullable to fix various problems with the difference in sqlite's null functionality