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

add presidential tables for 2008 and 2012 cycles #5480

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

fecjjeng
Copy link
Contributor

@fecjjeng fecjjeng commented Jun 24, 2023

Summary (required)

(Include a summary of proposed changes and connect issue below)

Required reviewers

This PR requires a reviewer from database team.

Impacted areas of the application

None

Screenshots

(Include a screenshot of the new/updated features in context (“in the wild”). If it is an interface change, include both before and after screenshots)

Related PRs

Related PRs against other branches:

branch PR
fix/other_pr link
feature/other_pr link

How to test

  • download this branch to local server. Run flyway migrate (or create_sample_db).

  • Make sure migration finish successfully.

  • log into cfdm_test, make sure the following 18 tables created:
    disclosure.pres_ca_cm_sched_a_join_08d
    disclosure.pres_nml_ca_cm_link_08d
    disclosure.pres_ca_cm_sched_state_08d
    disclosure.pres_ca_cm_sched_link_sum_08d
    disclosure.pres_nml_sched_a_08d
    disclosure.pres_nml_sched_b_08d
    disclosure.pres_f3p_totals_ca_cm_link_08d
    disclosure.pres_nml_f3p_totals_08d
    disclosure.pres_nml_form_3p_08d
    disclosure.pres_ca_cm_sched_a_join_12d
    disclosure.pres_nml_ca_cm_link_12d
    disclosure.pres_ca_cm_sched_state_12d
    disclosure.pres_ca_cm_sched_link_sum_12d
    disclosure.pres_nml_sched_a_12d
    disclosure.pres_nml_sched_b_12d
    disclosure.pres_f3p_totals_ca_cm_link_12d
    disclosure.pres_nml_f3p_totals_12d
    disclosure.pres_nml_form_3p_12d

  • review the ddl for the following 5 views, make sure it include the 2008 and 2012 presidential tables:
    public.ofec_presidential_coverage_date_vw
    public.ofec_presidential_by_candidate_vw
    public.ofec_presidential_by_state_vw
    public.ofec_presidential_financial_summary_vw
    public.ofec_presidential_by_size_vw

System architecture updates (if applicable)

(If this pull request changes our current system diagram, include a description of those changes here and create a new ticket to update the system diagram)

@fecjjeng fecjjeng self-assigned this Jun 24, 2023
@fecjjeng fecjjeng requested a review from hcaofec June 24, 2023 04:17
@fecjjeng fecjjeng added this to the PI 21 innovation milestone Jun 24, 2023
Copy link
Contributor

@hcaofec hcaofec left a comment

Choose a reason for hiding this comment

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

Tested successfully with pytest and flyway migrate. Good work!

@hcaofec hcaofec merged commit 4a295d6 into develop Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Presidential tables for 2008 and 2012
2 participants