Skip to content

SNOW-2313675: Alembic trying to create same migrations when using multi schema migrations #610

@gouthamravella

Description

@gouthamravella

Please answer these questions before submitting your issue. Thanks!

  1. What version of Python are you using?

    python3.12

  2. What operating system and processor architecture are you using?

    macOS-15.5-x86_64-i386-64bit

  3. What are the component versions in the environment (pip freeze)?

    snowflake-connector-python==3.17.2
    snowflake-sqlalchemy==1.7.6
    SQLAlchemy==2.0.43

  4. What did you do?

    Trying to add alembic for version support. We have two schemas per database and using one schema to track the migrations and few tables having foreign key mappings between these schemas. Upon creating first migration, it created tables fine. When I add new columns to the tables, it is again creating tables in the new migration file but not detecting the changes columns only.

  5. What did you expect to see?

    When creating a new migration, it should show only the changed columns

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmaintenance_modeIssue was raised during maintenance mode thus could not be addressed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions