Closed leelhn2345 closed 1 month ago
Describe the bug
formatting error occurs when [] is in the code.
[]
create table projects ( id serial primary key not null, subscriptions text[] );
Expected behavior
expected the formatted output to be like below
Actual behavior
i have the error
Error: Parse error: Unexpected "[] );"
my current alternative is
create table projects ( id serial primary key not null, subscriptions text array );
Usage
Just select the PostgreSQL dialect when formatting. Please read the FAQ.
Describe the bug
formatting error occurs when
[]
is in the code.Expected behavior
expected the formatted output to be like below
Actual behavior
i have the error
my current alternative is
Usage