automigrate
automigrate copied to clipboard
drop column is sometimes broken
example failure:
psycopg2.errors.SyntaxError: syntax error at or near "bool"
LINE 6: alter table users drop column notify_email bool;
obvious why this is invalid sql and what the change generator is doing, but I think I've also seen drops emit correct sql.
- [ ] make sure this is covered in a test case
- [ ] see if the AST is being used correctly by the diff generator
also test rm enum (both for drop order and syntax error)