Skip to content

Conversation

@jykfan
Copy link
Contributor

@jykfan jykfan commented Jun 28, 2016

Fix for account_questions_id mapping between tables account_questions and responses.
Previously, questionsResource returned account_questions_id=0 always (rather than the row index of the question saved in account_questions) for both onboarding and survey questions.

Not a critical fix.

@jykfan
Copy link
Contributor Author

jykfan commented Jul 1, 2016

Draft of script to fix mapping for survey questions https://github.com/hello/research/pull/17

created, question.category, question.dependencyResponse);
}

public static Question withAccountQId(final Question question, final Long accountQuestionId) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest withAccountQuestionId instead of withAccountQId, we're not saving that many characters and it's more readable.

@jykfan jykfan changed the title [DO NOT MERGE] jyfan/account questions id mapping jyfan/account questions id mapping Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants