@bn-digital/strapi-plugin-field-uuid
Version:
This plugin adds support of UUID field type to Strapi
40 lines (24 loc) • 1.43 kB
Markdown
<div align="center">
<img src="https://img.shields.io/npm/dw/@bn-digital/strapi-plugin-field-uuid?style=flat-square" alt="downloads" />
<img src="https://img.shields.io/npm/v/@bn-digital/strapi-plugin-field-uuid?style=flat-square" alt="version" />
</div>
This plugin adds a UUID field type to Strapi.
- [Installation](
- [Description](
- [Screenshots](
Install the plugin in your Strapi project.
```shell
yarn add @bn-digital/strapi-plugin-field-uuid
npm install @bn-digital/strapi-plugin-field-uuid
```
Enables UUID custom field type, which is generated automatically on entity creation. Mapped to database as `uid` Strapi type (which means that it is unique and validates as UUID).
It is recommended to make field non-editable (as part of Strapi view configuration), but it is not enforced. There is regenerate button in the view, which will generate new value.
### Screenshots

