0

I'm new to working with SQLite and can't get past a ConstraintException. I understand that it's trying to tell me that I am entering a null value into a column that I declared "not null", but that column doesn't exist. I previously had a typo "pone" instead of phone, but when I fixed it, I still ran into the error. So, I deleted all references to a phone value as well as the phone column in the database, saved, synched, restarted, and still got the error. Included are screenshots.

Error message:

error message

Code:

database helper

Thanks!

Kamran Ahmed
  • 7,661
  • 4
  • 30
  • 55

1 Answers1

0

The most likely answer is that your table has not yet been dropped since the change. You only drop on upgrade and not on create.

J. Knight
  • 131
  • 9