sunary / sqlize

powerful SQL toolkit; offering parsing, building, and migration capabilities.
Other
97 stars 11 forks source link

Load migration with `genDescription` header using PostgreSQL dialect #54

Closed florspag closed 2 days ago

florspag commented 2 days ago

Hi, I have some issue while parsing the sql migration file while using PostgreSQL dialect. The genDescription is unparsable. panic: at or near "#": syntax error If i manually remove the gen description on file it works well. Using / generate by sqlize / works too. Sounds that postgreSQL does not support the # used by MySQL. Using / / would be compatible by both. Regards Florent

sunary commented 2 days ago

Thank you for your feedback. The issue has been resolved in the latest version.

florspag commented 2 days ago

Awesome thank you!