Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use auto_increment in non primary columns #1004

Open
0ctanium opened this issue Nov 22, 2021 · 0 comments · May be fixed by #1005
Open

Use auto_increment in non primary columns #1004

0ctanium opened this issue Nov 22, 2021 · 0 comments · May be fixed by #1005
Labels
enhancement New feature or request
Milestone

Comments

@0ctanium
Copy link

What would you like to be added or enhanced
It would be useful to be able to auto increment a field but not setting it as a primary key.

Why is this needed
In the example of the european invoicing model, the invoice number increment need to follow the rest.

But in a data model where you use a unique id to refrenence the table in the overall model, you cannot use the uid column has primary key along with the invoice number with an auto increment

@0ctanium 0ctanium added the enhancement New feature or request label Nov 22, 2021
@0ctanium 0ctanium linked a pull request Nov 23, 2021 that will close this issue
@zaza81 zaza81 added this to the v1.3 milestone Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants