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 Tag tables and metadata to development pg_dump file #8218

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

jimchamp
Copy link
Collaborator

@jimchamp jimchamp commented Aug 23, 2023

Supplement #7928

Recreates our development pg_dump file after adding the Tag-related tables and new Infogami type. These additional tables and entries are required in order for Tags to be created and viewed in local environments.

Technical

New pg_dump file was created by executing the following commands:

docker compose exec -uroot web bash
./scripts/dev-instance/create-dev-db-pgdump.sh > scripts/dev-instance/dev_db.pg_dump 

DB container was removed completely before adding the new tables, creating the Tag Infogami type, and generating the updated dump.

DDL for the new tables, sequences, and indices was copied from this commit.
New Infogami type was modeled on the data found in this file.

Testing

Screenshot

Stakeholders

@mekarpeles
@JaydenTeoh

@jimchamp jimchamp changed the title Add Tag tables and metadata to dev pg_dump file Add Tag tables and metadata to development pg_dump file Aug 23, 2023
@mekarpeles mekarpeles merged commit e150ca8 into internetarchive:master Aug 23, 2023
@jimchamp jimchamp deleted the add-tag-tables branch September 25, 2023 17:46
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.

2 participants