I trying to detele question option but that question id belongs to other table, but it showing this error.
Error: SQLSTATE[23000]: Integrity constraint violation: 145