OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform How to name a index in OroPlatfrom migration

This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 2 years, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #37178

    Can someone explain what are the best practices to create a index name for a schema ?
    i can see some index name like UNIQ_F82840BC6BF700BD, oro_workflow_step_name_idx
    But i am not sure how to define the names for index.

Viewing 1 replies (of 1 total)
  • Author
  • #37180
    Andrey Yatsenko
    Andrey Yatsenko

    When you create indices using migrations you can optionally specify index name. If name will not be defined application will generate some unique name for you.

    It’s recommended to set index name explicitly so you can refer to it by name in other migrations and code.

Viewing 1 replies (of 1 total)

The forum ‘OroPlatform’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No