Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change TRUNCATE to DELETE FROM in postgres database #36

Commits on May 22, 2018

  1. Change TRUNCATE to DELETE FROM in postgres database

    This actually isn't a problem for postgres but is a problem for cockroach.
    Internally cockroach drops the table when running a truncate which causes the insert to fail inside of this transaction. I added repro steps to mattes/migrate#320 which this PR should close.
    
    Closes: mattes/migrate#320
    
    Signed-off-by: Elliott Davis <elliott@excellent.io>
    Elliott Davis committed May 22, 2018
    Configuration menu
    Copy the full SHA
    1e148b9 View commit details
    Browse the repository at this point in the history