You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then when I opened a migration file from a go project I had the following error diagnostic: Expected "$", "(", "--", "/*", "ALTER", "CREATE TABLE", "CREATE", "DELETE", "DROP TABLE", "DROP", "INSERT", "REPLACE", "SELECT", "UPDATE", "WITH", "return", [ \t\n\r], or end of input but "B" found.
The migration file in question is as follows:
BEGIN;
CREATETABLEIF NOT EXISTS recordings (
job_id UUID NOT NULLREFERENCES jobs (id),
recording_id UUID NOT NULL,
s3_recording_path string,
s3_transcript_path string,
updated_at TIMESTAMPTZNOT NULL DEFAULT now() ONUPDATE now(),
PRIMARY KEY (recording_id)
);
END;
The DB is CockroachDB which is basically a slight flavour of Postgres
I have installed
sqlls
via Mason and created my lsp settings file with the following configuration:Then when I opened a migration file from a go project I had the following error diagnostic:
Expected "$", "(", "--", "/*", "ALTER", "CREATE TABLE", "CREATE", "DELETE", "DROP TABLE", "DROP", "INSERT", "REPLACE", "SELECT", "UPDATE", "WITH", "return", [ \t\n\r], or end of input but "B" found.
The migration file in question is as follows:
The DB is CockroachDB which is basically a slight flavour of Postgres
Also here are my neovim specs:
> nvim -V1 -v NVIM v0.10.0-dev-1413+g684e93054-Homebrew Build type: Release LuaJIT 2.1.1699801871
The text was updated successfully, but these errors were encountered: