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

Creating a table with an adjacency list fails, when using op.create_table() #17

Closed
sqlalchemy-bot opened this issue Jan 1, 2012 · 4 comments
Labels
bug

Comments

@sqlalchemy-bot
Copy link

@sqlalchemy-bot sqlalchemy-bot commented Jan 1, 2012

Migrated issue, originally created by Joseph Dallago (@jayd3e)

This doesn't work:
http://paste.pocoo.org/show/528313/

This does:
http://paste.pocoo.org/show/528326/

So I am assuming there is a problem with op.create_table() when attempting to create the foreign key constraint for an adjacency list.

@sqlalchemy-bot
Copy link
Author

@sqlalchemy-bot sqlalchemy-bot commented Jan 1, 2012

Changes by Joseph Dallago (@jayd3e):

  • edited description
1 similar comment
@sqlalchemy-bot
Copy link
Author

@sqlalchemy-bot sqlalchemy-bot commented Jan 1, 2012

Changes by Joseph Dallago (@jayd3e):

  • edited description
@sqlalchemy-bot
Copy link
Author

@sqlalchemy-bot sqlalchemy-bot commented Jan 1, 2012

Michael Bayer (@zzzeek) wrote:

very simple, fixed in [[https://bitbucket.org/zzzeek/alembic/changeset/69c9303e6037985fc0664bd583ee51f2b937ff72|69c9303e6037985fc0664bd583ee51f2b937ff72]] thanks !!

@sqlalchemy-bot
Copy link
Author

@sqlalchemy-bot sqlalchemy-bot commented Jan 1, 2012

Changes by Michael Bayer (@zzzeek):

  • changed status to closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.