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

[Issue 698] Add rest of opportunity table columns #863

Merged
merged 5 commits into from
Dec 13, 2023

Conversation

chouinar
Copy link
Collaborator

Summary

Fixes #698

Time to review: 5 mins

Changes proposed

Add the rest of the columns from the existing topportunity table to our schema

Update the corresponding factory

Context for reviewers

We were only missing a few. Note that there are 3 columns I have deliberately not ported over as they aren't used by the existing system (two explicitly say that in the docs, Narmada confirmed that listed was always the same).

While I was doing this, added some indexes to the table for columns that we query by.

I didn't add every new column to the factory as some of them we won't really use anytime soon like the user/profile IDs.

I don't think most of these fields will be in the response from the API at the moment, but a few like category explanation should be added - we can do that in a later ticket.

Additional information

Migrations run uneventfully locally. Can migrate up and down.

Able to run the make db-seed-local script uneventfully and get data in the DB:
Screenshot 2023-12-11 at 1 50 20 PM

@chouinar chouinar merged commit 8ba15dd into main Dec 13, 2023
13 checks passed
@chouinar chouinar deleted the chouinar/698-add-more-columns-from-opp branch December 13, 2023 19:31
SammySteiner pushed a commit that referenced this pull request Dec 22, 2023
[Issue 698] Add rest of opportunity table columns

---------

Co-authored-by: nava-platform-bot <[email protected]>
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.

[Task]: More columns from opp table
3 participants