Skip to content

Claims there is syntax errors when there is not #244

@kawpiya

Description

@kawpiya

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions