Add active column to seed CSV and update dev setup docs#76
Merged
brianclemens merged 1 commit intoresf:mainfrom Mar 2, 2026
Merged
Add active column to seed CSV and update dev setup docs#76brianclemens merged 1 commit intoresf:mainfrom
brianclemens merged 1 commit intoresf:mainfrom
Conversation
The schema added an active column to supported_products_rh_mirrors with DEFAULT true, but the seed CSV was not updated, causing \copy to fail with "missing data for column" during local dev setup. Legacy entries seed as false to match their intended inactive state. Updates to the Apollo README: - Add Docker as an alternative to Podman for the PostgreSQL container - Use PGPASSWORD env var instead of interactive password prompts - Start Temporal before Apollo server and workers (correct order) - Move last_indexed_at hint to Tips and Tricks as an optional step
thefossguy-ciq
left a comment
There was a problem hiding this comment.
It works on my end with this updated seed, thanks for the work!
thefossguy-ciq
approved these changes
Feb 23, 2026
jason-rodri
approved these changes
Feb 23, 2026
brianclemens
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
activecolumn was added tosupported_products_rh_mirrorsinschema.sqlbut the seed CSV was not updated, causing\copyto fail withmissing data for column "active"during local dev setup. The FK error onsupported_products_rpm_repomdsis a cascade from the mirrors copy failing first.activeto all 20 rows:truefor current products,falsefor Legacy entries to match their intended inactive state.apollo/README.mdto fix several issues in the dev setup guide:PGPASSWORDenv var instead of interactive password prompts (-W)last_indexed_atoptimization hint to Tips and Tricks as an optional stepTesting
Tested by tearing down a local dev environment completely and following the README setup guide from scratch. All four
\copystatements completed without error,supported_products_rh_mirrorsseeded with 20 rows with correctactivevalues (Legacy rowsfalse, all otherstrue), and all Apollo components came up successfully.