Skip to content

Gohan doesn't create db table name from schema.plural #454

Description

@j-maxi

I found that gohan creates db table name from schema.id + 's' instead of using schema.plural.
https://github.com/cloudwan/gohan/blob/master/schema/schema.go#L315

This doesn't affect user, but confuses developer/operator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions