Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Change Enum name generation in PgSQL and quote it #128

Closed
SOHELAHMED7/yii2-openapi
#10
@SOHELAHMED7

Description

@SOHELAHMED7

2 changes related to enum in PgSQL is required

  1. enum type name generation should include table name. Currently it conflict with other column name. enum_column_name to enum_table_name_column_name. This is required in case like Task.status can be one of ["open", "working", "closed"] and Invoice.status can be one of draft, ready or billed (bug)
  2. quote enum type name to preserve case sensitive column name; see Quote issue to preserve the case of the column name #127 but for enum type name

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions