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
test=# CREATE TABLE public.users ( id integer NOT NULL, arr ARRAY );
ERROR: syntax error at or near "ARRAY"LINE1: ...REATE TABLE public.users ( id integerNOT NULL, arr ARRAY );
^
But I fixed the issue for types like integer array, integer[], etc. Please try v0.5.18.
My schema uses Postgres Arrays and I was getting an error when attempting a dry run. The test case schema is simply:
CREATE TABLE public.users ( id integer NOT NULL, arr ARRAY )
The export works fine
/psqldef test --export > schema.sql
But the --dry-run fails
/psqldef test --dry-run < schema.sql
I get:
syntax error at position 67 near 'ARRAY'
The text was updated successfully, but these errors were encountered: