Skip to content

Generated migrations are creating a ton of unnecessary queries #3155

Description

@trslater

When I generate a migration with npm run alcs:migration:generate, it produces many queries that remove and recreate DB objects unnecessarily.

Expected Behaviour
Generated migration only includes changes made to entities.

Actual Behaviour
Generated migrations include unnecessary queries

Steps To Reproduce
Steps to reproduce the behaviour:

  1. npm run alcs:migration:generate --name=<my_migration>

Confirm this task meets our team Definition of Ready (DoR) before moving to the Next Sprint column.

Confirm this task meets our team Definition of Done (DoD) before moving to the Done column.

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

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions