Skip to content

Patches won't apply is SQL Query is not ending with a ; #34

Description

@nguyenk

When the Query of the patch (last query if multiple queries in one patch) does not end with a ';', it wont be executed.

This is quite normal because every SQL query should end with a ';', but database patcher will tell you the patches has been successfully executed which should not.

I suggest :

  • even add a validation step when adding/editing patches
  • or adding a ';' sign at the end of the SQL patch string if it doesn't exists

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions