Open
Description
Hello!
I know this library is primarily for MySQL dialects, but this is the only PHP SQL parser I could find...
This can't parse the 'custom' Postgres dump, but I found it can sort of parser the plain text format with varying results.
The parser seems to stop after the first timestamp column (it parsed created_at
) so I have a bunch of table create statements with only two columns:
CREATE TABLE public.urls (
id integer NOT NULL,
created_at timestamp(0) without time zone,
updated_at timestamp(0) without time zone,
long_url text NOT NULL
);
Any ideas why?
Thanks!