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

Structure: When a second column could not be created, the first column is still not commited. #1201

Open
CodeBrauer opened this issue May 22, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@CodeBrauer
Copy link

commented May 22, 2019

  1. Which driver are you using and version of it (Ex: PostgreSQL 10.0):
    MySQL 5.6.35
  2. Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81):
    228
  3. The steps to reproduce this issue:
  • create a table
  • commit changes cmd+s
  • add 2 columns
    • one named foobar
    • one named date to produce an error
  • commit changes
  • See an error that ALTER TABLE failed
  • both columns are still green / ready for commit
  • fix the error by renaming the column date to date_foo
  • See an error that alter table failed (Because foobar was created already)

After commit TablePlus should check the single ALTER TABLE succeeded or not. So the commit shows that the first column was created successfully but the second statement failed.

Bildschirmfoto 2019-05-22 um 11 25 23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.