Update to sequence

This commit is contained in:
Jake Barnby
2025-05-23 22:51:20 +12:00
parent 2c7666e0df
commit bc778f507d
2 changed files with 14 additions and 14 deletions
@@ -36,11 +36,11 @@ class Document extends Any
'default' => '',
'example' => '5e5ea5c16897e',
])
->addRule('$internalId', [
->addRule('$sequence', [
'type' => self::TYPE_INTEGER,
'description' => 'Auto increment integer.',
'default' => '',
'example' => '1',
'description' => 'Document automatically incrementing ID.',
'default' => 0,
'example' => 1,
])
->addRule('$collectionId', [
'type' => self::TYPE_STRING,