Skip to content

Allow spanner-cli to run under an environment for proper package dependency injection #14

Description

@techgerm

Problem:

  • Migrations don't currently work using the spanner-cli if your project is a package and you've imported other helpful modules into some of your migrations files.
  • Reference conversation for more details here: Migrations - Add support for package imports #12

Proposed Solution:

  • We could get the spanner-cli tool to use a env.py file similar to how alembic does it that then it could use to properly inject package structure/dependencies.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions