authgear / authgear/authgear-server
[Command] authgear database migrate up error message improvement
- Dominant language
- Go
- Stars
- 2k
- Forks
- 125
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 32
Description
When I provided a schema name that doesn't exist in the db, it shows `no schema has been selected to create in` (in fact I input the wrong db name). And I really think I use the wrong argument name or something. Can it change to message like `schema doesn't exist in db`? (I know this message comes from psql though :()
Contributor guide
Research direction
Start with the `authgear database migrate up` command and reproduce the failure using a nonexistent schema or database name. Trace where the psql error is surfaced, then make the message distinguish an invalid database or schema; done means the command reports the correct cause instead of `no schema has been selected to create in`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, postgresql
- Domain
- cli, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100