Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion content/guides/01.data-model/1.collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The primary key field contains a unique value for each item in the collection. T

The primary key type defines the strategy for creating unique primary keys. Once selected, this cannot be modified.

Additionally, Directus can create some common fields, including a status field, sort, as well as fields related to who and when items are created or edited. Directus supports the following types of IDs:
Additionally, Directus can create some common fields, including an archived field, sort, as well as fields related to who and when items are created or edited. Directus supports the following types of IDs:

- **Auto-Incremented Integer**: IDs increment from `1` to `2^31-1` (`2,147,483,647`).
- **Auto-Incremented Big Integer**: IDs increment from `1` to `2^63-1` (`9,223,372,036,854,775,807`). This is only available if using MySQL and PostgreSQL as your database.
Expand Down Expand Up @@ -124,6 +124,8 @@ When you duplicate an item, any related items are not copied. You must create ne

Archived items still exist in your collections, but are filtered within the Data Studio. If not selected as an optional field when creating a collection, you will need to create a new field.

When creating a collection via the wizard, the optional `archived` field is a **boolean** type. The archive value is `true` and the unarchive value is `false`. If you create an archive field manually, you can use any string or boolean field.

To configure an archive field, set the following four input fields as desired.

- **Archive Field**: selects the archive field.
Expand Down