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

Claims there is syntax errors when there is not #244

Open
kaushalyap opened this issue Apr 15, 2023 · 0 comments
Open

Claims there is syntax errors when there is not #244

kaushalyap opened this issue Apr 15, 2023 · 0 comments

Comments

@kaushalyap
Copy link

Sample Code:

DROP TABLE
  IF EXISTS app_public.tablename CASCADE;

-- create table statement column definition
id SERIAL PRIMARY KEY,

id BIGSERIAL PRIMARY KEY,

Errors:

[error] syntax error at or near "DROP"
[error] syntax error at or near "SERIAL"
[error] syntax error at or near "BIGSERIAL"

Version Info:

DB: Postgres 14.3

❯ sql-lint --version
1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant