chore: defaults maxVersions to 100

This commit is contained in:
Jarrod Flesch
2023-01-31 11:29:52 -05:00
parent 453a9036be
commit ab7b14d81e
2 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ Configuring Versions is done by adding the `versions` key to your Collection con
| Option | Description |
| ---------------------------- | -------------|
| `maxPerDoc` | Use this setting to control how many versions to keep on a document by document basis. Must be an integer. |
| `maxPerDoc` | Use this setting to control how many versions to keep on a document by document basis. Must be an integer. Defaults to 100, use 0 to save all versions. |
| `retainDeleted` | Boolean to determine if, when a document is deleted, you'd like to retain versions of that document, or go through and automatically delete all versions that are associated with the deleted document. |
| `drafts ` | Enable [Drafts](/docs/versions/drafts) mode for this collection. To enable, set to `true` or pass an object with `draft` [options](/docs/versions/drafts#options). |