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

MySQL alter column breaks with spaces #152

Closed
sqlalchemy-bot opened this issue Oct 16, 2013 · 3 comments
Closed

MySQL alter column breaks with spaces #152

sqlalchemy-bot opened this issue Oct 16, 2013 · 3 comments
Labels
bug Something isn't working op directives

Comments

@sqlalchemy-bot
Copy link

Migrated issue, originally created by Iuri de Silvio (@iurisilvio)

Alembic breaks with alter_column operation if the column_name has spaces.

Should I escape the names in my script or it is up to the ddl generation make it right?

@sqlalchemy-bot
Copy link
Author

Michael Bayer (@zzzeek) wrote:

sounds like the column name isn't being quoted internally, which would be a bug. you might try sending a manual quoted name for now (or escaped, sure)

@sqlalchemy-bot
Copy link
Author

Michael Bayer (@zzzeek) wrote:

085490b

@sqlalchemy-bot
Copy link
Author

Changes by Michael Bayer (@zzzeek):

  • changed status to closed

@sqlalchemy-bot sqlalchemy-bot added op directives bug Something isn't working labels Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working op directives
Projects
None yet
Development

No branches or pull requests

1 participant