How to fix sqlite3.IntegrityError: NOT NULL constraint failed in Python | DevErrors