FeatureFuel
4

Auto-incremental integer field

Source: directus/directus#23566 · opened by @BorisKamp
Summary

Hey guys! I don't see a auto-incremental integer field to pick in a model, is there any? I see this can be setup for the id field of a model, but not for any other custom fields on the model. I have a id field which is set to a UUID, next to that I have a display_id field which I want to an auto-incremental integer (like the primary field key option).

Basic Example

_No response_

Motivation

Because there are use cases where other fields then the primary key fields need this.

Detailed Design

When adding a new field to the model, be able to select auto incremental integer as type when selecting a input field type.

Requirements List

n.a.

Drawbacks

n.a.

Alternatives

n.a.

Adoption Strategy

n.a.

Unresolved Questions

_No response_

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests