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

Exclude certain tables and columns from the schema #28

Open
annieyro opened this issue Apr 2, 2020 · 0 comments
Open

Exclude certain tables and columns from the schema #28

annieyro opened this issue Apr 2, 2020 · 0 comments

Comments

@annieyro
Copy link
Collaborator

annieyro commented Apr 2, 2020

Add exceptions for columns and tables that should not be included in the schema (don't yell when schema doesn't include them).

Not sure if this is really needed - the use case for this is when one developer is updating the schema, or testing a new column addition, but testing won't be allowed since the generator wants to enforce that the generator is run and breaks the app while trying to test unrelated changes, e.g

Error converting Products record from Airtable. Could not find column of name "Original Customer Cost" in local copy of schema.js. Please run the schema generator again to get updates

The fix for now is to run the generator, but this will re-generate the schema with a column we don't want to keep since it'll be updated in a separate PR.

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

No branches or pull requests

1 participant