Files
main/rules-v0/convex-cursorrules-prompt-file/convex-schema-design---system-fields.mdc
2025-02-27 00:04:07 +05:30

6 lines
409 B
Plaintext

---
description: Enforces the understanding that Convex automatically handles system fields (_id, _creationTime) and that manual index creation for these fields is unnecessary.
globs: **/convex/schema.ts
---
- Understand that Convex automatically generates system fields `_id` and `_creationTime` for every document.
- Do not manually add indices for `_id` and `_creationTime` as they are added automatically.