hasura / hasura/graphql-engine

copy-pasting sql into console on windows throws error (sql error parsing carriage returns)

Open
#7,342 9 comments 2 reactions 0 assignees View on GitHub
c/console k/bug
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Hi, I'm using docker over WSL2. When copy pasting a query into SQL for the purposes of running a migration, carriage returns are inserted and an error is thrown when I try to run it.

graphql-engine v2.0.3
hasura-cli v2.0.3

![image](https://user-images.githubusercontent.com/14217/128035537-ccd156b1-f587-412a-b3fa-69830cbf7b7a.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.