Skip to content

Conversation

@techgerm
Copy link
Collaborator

@techgerm techgerm commented Jul 23, 2020

Copy link
Owner

@maroux maroux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine but does that mean you're unable to use spanner-orm CLI tool ? If so, maybe look into how alembic does it - it definitely works fine with the structure you've described..

@techgerm
Copy link
Collaborator Author

Correct, in order to get the scanner-cli tool to work like alembic it looks like we'd have to make it search for an env.py and program the spanner-cli tool to inject its dependencies from there.

I can create a separate issue on this if you'd like so at least it's a known issue. The good thing is we at least present one solution for packaged projects with the migration executer.

@maroux
Copy link
Owner

maroux commented Jul 23, 2020

separate issue sounds good 👍

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.

2 participants