Skip to content

BI-2960 - Migrate Production Germplasm External UID Reference Sources - #22

Open
nickpalladino wants to merge 1 commit into
developfrom
feature/BI-2960
Open

BI-2960 - Migrate Production Germplasm External UID Reference Sources#22
nickpalladino wants to merge 1 commit into
developfrom
feature/BI-2960

Conversation

@nickpalladino

@nickpalladino nickpalladino commented Jul 30, 2026

Copy link
Copy Markdown
Member

Description

Story: BI-2960

  • Migrate germplasm external UID external references to work with v1.4 code updates

Dependencies

  • bi-api / bi-web develop

Testing

This is kind of a pain to test mainly because have to clone prod to local environment. I did for testing but I'm fine with reviewer skipping. We can do some testing in qa-test, rel-test when deployed. Some steps were omitted in procedure below like setting up account to login as system admin, etc.

Create a database dump for each database from prod using appropriate values:

pg_dump \
    -h PROD_DB \
    -U USER \
    -d DB \
    -Fc \
    --data-only \
    --exclude-table-data=public.flyway_schema_history \
    -f prod_db.dump

Drop local databases to prepare for prod data import actual db names:

DROP database BRAPI_DB;
CREATE database BRAPI_DB;
DROP database BI_DB;
CREATE database BI_DB;

Import prod data dumps for each database:

pg_restore -h localhost -U USER -d DB brapidb.dump
pg_restore -h localhost -U USER -d DB bidb.dump

Checklist:

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.

1 participant