Files
main/rules-v0-deprecated/convex-cursorrules-prompt-file/convex-schema-design---system-fields.mdc
T
2025-03-03 23:40:27 +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.