syntax error at or near ";" with empty migration
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.4k
- Forks
- 292
- PR merge metrics
- No merged PRs in 30d
Description
a completely empty file fails for me in sql-migrate down:
Migration failed: pq: syntax error at or near ";" handling 20161007095606_create_tunnel_keys.sql
it would be great if there was a verbose flag that prints what sql-migrate is trying to execute
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with sql-migrate down using the empty 20161007095606_create_tunnel_keys.sql migration, then trace how the migration content is executed. Done means an empty migration no longer causes the syntax error; the requested verbose output should also show the SQL being executed if that part is implemented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100