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

cli: add exclude-schema & full flags to migrate create command #5713

Closed
wants to merge 7 commits into from
Closed

cli: add exclude-schema & full flags to migrate create command #5713

wants to merge 7 commits into from

Conversation

kolharsam
Copy link
Contributor

@kolharsam kolharsam commented Sep 2, 2020

resolves #4301

Description

This PR adds 2 flags to the migrate create command.

  • exclude-schema - meant to be used while you'd like to exclude certain schema's while running pg_dump
  • full - meant to be used when you'd like to take to run pg_dump across all schemas along with extensions

Changelog

  • CHANGELOG.md is updated with user-facing content relevant to this PR. If no changelog is required, then add the no-changelog-required label.

Affected components

  • CLI

@netlify
Copy link

netlify bot commented Sep 2, 2020

Deploy preview for hasura-docs ready!

Built with commit 729c48b

https://deploy-preview-5713--hasura-docs.netlify.app

@kolharsam kolharsam requested a review from a team as a code owner September 2, 2020 12:06
@tirumaraiselvan
Copy link
Contributor

Even sql-from-server should support both these flags?

@scriptonist scriptonist assigned purush7 and unassigned kolharsam and scriptonist Jun 14, 2021
@purush7
Copy link
Contributor

purush7 commented Jun 14, 2021

/changelog ok

hasura-bot added a commit that referenced this pull request Jun 14, 2021
GITHUB_PR_NUMBER: 5713
GITHUB_PR_URL: #5713

hasura/graphql-engine-mono#1564

Co-authored-by: Sameer Kolhar <[email protected]>
Co-authored-by: Kali Vara Purushotham Santhati <[email protected]>
GitOrigin-RevId: b4441cb
@hasura-bot hasura-bot closed this Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/cli Related to CLI merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migration --from-server should take --exclude-schema argument
5 participants