Skip to content

Many2many table name auto generation based on structs names #7736

@artemiyjjj

Description

@artemiyjjj

Describe the feature

System might automatically generate name for many2many table. For now structure tag many2many optionally consumes parameter for name and does not fail if it is not provided. But autogenerated name of that kind of table is not adequate.

Motivation

Since foreign keys names are generated by concatenation of a table name and the field of a struct, chosen to be foreign key, it would be nice to have similar way of many2many table name generation

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions