Skip to content

Load migration with genDescription header using PostgreSQL dialect #54

@florspag

Description

@florspag

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions