dbml icon indicating copy to clipboard operation
dbml copied to clipboard

sql2dbml postgres is not able to able to understand casting

Open suchitgupta01 opened this issue 3 years ago • 0 comments

The sql2dbml is not able to understand the casting and fails with error "ERROR: You have a syntax error at "schema.sql" line 3 column. Expected ")", ",", "CHECK", "CONSTRAINT", "DEFAULT", "GENERATED", "NOT", "NULL", "PRIMARY", "REFERENCES", "UNIQUE", or space but ":" found." CREATE TABLE public.tests ( id bigint NOT NULL, type character varying DEFAULT 'testing'::character varying );

suchitgupta01 avatar Aug 11 '22 23:08 suchitgupta01