这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@kolharsam
Copy link
Contributor

Description

A new set of flags are added to the migrate command on the CLI. The up-sql and down-sql flags can be used to create SQL migrations from the CLI. These flags are to be used in conjunction. Either being absent during execution results in an error.

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

Related Issues

resolves #5026

Breaking changes

  • No Breaking changes

@kolharsam kolharsam added the c/cli Related to CLI label Jun 10, 2020
@kolharsam kolharsam requested review from a team as code owners June 10, 2020 05:08
@netlify
Copy link

netlify bot commented Jun 10, 2020

Deploy preview for hasura-docs ready!

Built with commit 6665b82

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

Copy link
Contributor

@tirumaraiselvan tirumaraiselvan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CL

@hasura-bot
Copy link
Contributor

Review app for commit 1815bea deployed to Heroku: https://hge-ci-pull-5039.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5039-1815bea3

Copy link
Contributor Author

@kolharsam kolharsam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no issues found in self-review

@kolharsam kolharsam requested a review from scriptonist June 11, 2020 08:37
@hasura-bot
Copy link
Contributor

Review app for commit e328fee deployed to Heroku: https://hge-ci-pull-5039.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5039-e328fee3

@hasura-bot
Copy link
Contributor

Review app for commit 4550079 deployed to Heroku: https://hge-ci-pull-5039.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5039-45500792

@hasura-bot
Copy link
Contributor

Review app for commit 224a001 deployed to Heroku: https://hge-ci-pull-5039.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5039-224a001a

Copy link
Contributor Author

@kolharsam kolharsam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted previous suggestions and changed acc. to latest suggestions

@kolharsam kolharsam requested a review from scriptonist June 15, 2020 07:53
@scriptonist scriptonist changed the title cli: add new flags to generate sql migrations cli: add new flags to generate sql migrations (close #5026) Jun 16, 2020
@hasura-bot
Copy link
Contributor

Review app for commit a61c1ea deployed to Heroku: https://hge-ci-pull-5039.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5039-a61c1ea4

@hasura-bot
Copy link
Contributor

Review app for commit 6665b82 deployed to Heroku: https://hge-ci-pull-5039.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5039-6665b824

@hasura-bot
Copy link
Contributor

Review app for commit f533cd1 deployed to Heroku: https://hge-ci-pull-5039.herokuapp.com
Docker image for server: hasura/graphql-engine:pull5039-f533cd13

@scriptonist scriptonist merged commit 13e4edb into hasura:master Jun 16, 2020
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-5039.herokuapp.com is deleted

stevefan1999-personal pushed a commit to stevefan1999-personal/graphql-engine that referenced this pull request Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/cli Related to CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cli: allow passing sql by flag to migrate create

4 participants