Skip to content

Support for Indexes #42

Closed
Closed

Description

@x7airworker

Is your feature request related to a problem? Please describe.
Currently we have no ability to set Indexes in the auto migration.

Describe the solution you'd like
The @Column annotation should have a boolean parameter index which by default is set to false.

Activity

  1. JWaldecker commented on Mar 29, 2023

    @JWaldecker
    Contributor

    From my view it could be better to add a @Index annotation to the class itself where a list of the columns included in the index can be defined. Otherwise it would not be possible to handle an index containing more than one column. What do you think about it?

  2. x7airworker commented on Mar 29, 2023

    @x7airworker
    MemberAuthor

    This sounds like a good approach. We should make the @Index annotation repeatable so we can create multiple indexes with multiple columns.

  3. linked a pull request that will close this issueImplemented support for Indices #43on Mar 30, 2023
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions