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

Fix #20 - support for multiple databases #67

Closed
wants to merge 5 commits into from
Closed

Fix #20 - support for multiple databases #67

wants to merge 5 commits into from

Conversation

ncloudioj
Copy link
Contributor

This PR is aimed to partially fix #20, it uses "multidb" template of Alembic. Flask-Migrate users, however, still need to change the alembic.ini and env.py to provide the required database meta information.

commit 674d9a3
Author: Nan Jiang <njiang028@gmail.com>
Date:   Fri Jul 10 16:29:31 2015 -0400

    Fix #20 - support for multiple databases
@ncloudioj
Copy link
Contributor Author

Hmm, it's a bit strange that all unit tests got passed on my Mac OS X and Linux boxes (both Python2.7/3.4). I've already tried to use the absolute path in the sub-directory, still seeing failures.

Any thoughts? Thanks in advance!

@miguelgrinberg
Copy link
Owner

Well, the init command is failing for some reason. You may want to print o and e variables, which have the stdout and stderr of the command. Push that to the pull request and then you can look at the output of the travis build to see what was the error.

Thanks for doing this, BTW!

@ncloudioj
Copy link
Contributor Author

Found the issue, forgot to add the new template folder to the "MANIFEST.in". Will make another PR to keep the commit history clean.

Thanks @miguelgrinberg for your help!

@ncloudioj ncloudioj closed this Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for multiple databases
2 participants