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

Cancel display flags help on Pg error in "migrate" #820

Closed
alexsuslov opened this issue May 9, 2023 · 1 comment
Closed

Cancel display flags help on Pg error in "migrate" #820

alexsuslov opened this issue May 9, 2023 · 1 comment

Comments

@alexsuslov
Copy link
Contributor

prestd  migrate up

...
Error: pq: relation "posts" already exists
Usage:
  prestd migrate up [flags]
  prestd migrate up [command]

Available Commands:
  auth        Create auth table

Flags:
  -h, --help   help for up

Global Flags:
      --path string   Migrations directory
      --url string    Database driver url (default "postgres://postgres:postgres@127.0.0.1:5432/prest?sslmode=disable&sslcert=&sslkey=&sslrootcert=")

Use "prestd migrate up [command] --help" for more information about a command.

pq: relation "posts" already exists

It is necessary to disable the display of help on flags on a database error

@arxdsilva
Copy link
Member

fixed in #834
released in v1.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants