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

reseed job #4

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

reseed job #4

wants to merge 6 commits into from

Conversation

murtaza-spec-dev
Copy link

@murtaza-spec-dev murtaza-spec-dev commented Sep 27, 2023

Implements a feature that allows users to reseed an existing database table from the CLI. This is crucial for cases where there may be discrepancies between the master table and the user's table, or when the infrastructure was not as reliable.

The current process involves manually deleting information from the live_columns table and redeploying, which is cumbersome. Now, it listens to changes to the spec db reseed_queue table and will trigger a seed on specified column.

Example below:

https://www.loom.com/share/cef9fed59eef43929e91ffee7c63679e

In this video, I will demonstrate the reseeding logic by running a CLI command to update specific columns in a database table. I will show you how to specify the table and columns to be updated, and explain how you can customize this process by providing a comma-separated list of column names. Pay close attention to the steps and examples provided, as you will be required to replicate this process in your own projects.

Probably easiest to review in order of commit

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