-
Notifications
You must be signed in to change notification settings - Fork 24
Remove db_write_timestamp #735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughRemoved generation and indexing of the db_write_timestamp column across codegen templates, internal tables, and schema/test artifacts. EntityHistory no longer explicitly excludes the field, allowing default handling if present. Tests and expected SQL were updated to reflect the absence of the column and its index. Changes
Sequence Diagram(s)sequenceDiagram
participant Schema as GraphQL Schema
participant Codegen as Codegen Template
participant DB as Internal Tables
participant Tests as Test Suite
Schema-->>Codegen: Types without db_write_timestamp index
Codegen-->>DB: Generated entities without db_write_timestamp column
DB-->>Tests: DDL without db_write_timestamp
Tests-->>Tests: Assertions updated to expect exact column set
Note over Codegen,DB: EntityHistory now defaults any present db_write_timestamp (no special exclusion)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks (3 passed)✅ Passed checks (3 passed)
Poem
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal). Please share your feedback with us on this Discord post. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (7)
💤 Files with no reviewable changes (4)
🧰 Additional context used📓 Path-based instructions (3)scenarios/test_codegen/**/*.ts📄 CodeRabbit inference engine (scenarios/test_codegen/.cursor/rules/hyperindex.mdc)
Files:
**/*.{res,resi}📄 CodeRabbit inference engine (.cursor/rules/rescript.mdc)
Files:
**/*.res📄 CodeRabbit inference engine (.cursor/rules/navigation.mdc)
Files:
🧠 Learnings (6)📚 Learning: 2025-08-11T08:49:57.399Z
Applied to files:
📚 Learning: 2025-09-04T14:42:53.500Z
Applied to files:
📚 Learning: 2025-08-11T08:49:57.399Z
Applied to files:
📚 Learning: 2025-08-11T08:49:57.399Z
Applied to files:
📚 Learning: 2025-08-11T08:47:04.346Z
Applied to files:
📚 Learning: 2025-08-11T08:47:04.346Z
Applied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (8)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Merged as a part of another PR |
Summary by CodeRabbit
Refactor
Tests
Chores