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

fix: no need to find and replace owners in schema #215

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

vjeeva
Copy link
Contributor

@vjeeva vjeeva commented Apr 28, 2023

Initially needed this because some of the schema commands had OWNED BY or something similar. However in the calling command to write out the schema, those commands are filtered out so we don't even need this find and replace.

This fixes an issue where the source owner name is in schema objects, those also get replaced with the destination username. EG if your source owner is something, if a table has something...., that will get replaced.

@vjeeva vjeeva merged commit dfe1324 into main Apr 28, 2023
@vjeeva vjeeva deleted the vjeeva/fix-schema-owner-bug branch April 28, 2023 19:28
@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant