Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seed additional data #46

Open
2 of 6 tasks
rrabinovitch opened this issue Oct 29, 2020 · 2 comments
Open
2 of 6 tasks

Seed additional data #46

rrabinovitch opened this issue Oct 29, 2020 · 2 comments
Assignees

Comments

@rrabinovitch
Copy link
Member

rrabinovitch commented Oct 29, 2020

  • applicants
  • skills
  • values
  • applicant_skills
  • applicant_values
  • messages

https://github.com/HireUp-Turing/HireUp_frontend/blob/master/src/assets/test-values-skills.tsx

@GreysonElkins
Copy link
Member

Do applicant_skills and applicant_values need their own seeds or are they built from the applicant data?

I can handle making applicants with POSTs so we don't need to seed that.

I don't know if it's worth seeding messages either, I don't think we'll be able to demo seeded messages very easily with auth, but we can run through that functionality

@rrabinovitch
Copy link
Member Author

rrabinovitch commented Oct 31, 2020

@GreysonElkins hmm good q. If you're creating applicants via the POST applicants endpoint including skills and attributes, then the applicant_skills and applicant_values join table records will be created via that POST request. If applicants are being created in the manage.py file like you just did for values and skills, then the join table records do need to be created manually. It sounded like you're doing the former, yea?

and yea, I think we can leave messages on the list for now and see where we get in the next few days with the messages functionality and then confirm whether we'll skip seeding those

@rrabinovitch rrabinovitch self-assigned this Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants